fix(Alert/Notification): allow description ui override

Resolves #2554
This commit is contained in:
Benjamin Canac
2025-02-14 14:25:58 +01:00
parent 569fa7619b
commit 125a28190b
4 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
{{ title }}
</slot>
</p>
<div v-if="description || $slots.description" :class="twMerge(ui.description, !title && !$slots.title && 'mt-0 leading-5')">
<div v-if="description || $slots.description" :class="twMerge(ui.description, !title && !$slots.title && ui.descriptionOnly)">
<slot name="description" :description="description">
{{ description }}
</slot>