Skip to content

Commit

Permalink
Merge pull request #1019 from 3YOURMIND/fix-toaster-header
Browse files Browse the repository at this point in the history
fix(KtToaster): remove surplus classes
  • Loading branch information
Isokaeder authored Nov 19, 2024
2 parents 9e3f984 + 4fd5cae commit e95398d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/kotti-ui/source/kotti-toaster/KtToast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,10 @@ export default defineComponent({
<div class="kt-toast">
<KtBanner isCloseable :type="type" @close="onDelete">
<template v-if="hasHeaderSlot" #header>
<div class="kt-banner__action">
<slot name="header" />
</div>
<slot name="header" />
</template>
<template v-else-if="headerWithFallback" #header>
<div class="kt-banner__action">
{{ headerWithFallback }}
</div>
{{ headerWithFallback }}
</template>
<template #text>
<slot name="text">
Expand Down

0 comments on commit e95398d

Please sign in to comment.