Skip to content

Commit

Permalink
fix(Notification): improve description alignment when no title prov…
Browse files Browse the repository at this point in the history
…ided
  • Loading branch information
benjamincanac committed Feb 28, 2024
1 parent ca4f06a commit 9cce445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/overlays/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{ title }}
</slot>
</p>
<p v-if="(description || $slots.description)" :class="ui.description">
<p v-if="(description || $slots.description)" :class="twMerge(ui.description, !(title && $slots.title) && 'mt-0 leading-5')">
<slot name="description" :description="description">
{{ description }}
</slot>
Expand Down

0 comments on commit 9cce445

Please sign in to comment.