Skip to content

Commit

Permalink
fix(design-system:alert_note): content should be spaced
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Dec 22, 2024
1 parent c586b71 commit 92eab80
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion packages/design-system/src/molecules/alert_note/alert_note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,24 @@
<Icon :name="iconName" />
</div>

<div>
<div :class="$style.content">
<slot />
</div>
</div>
</template>

<style module>
.content {
& > * {
margin-block: 1rem;
}
& > :first-child {
margin-top: 0;
}
& > :last-child {
margin-bottom: 0;
}
}
</style>

0 comments on commit 92eab80

Please sign in to comment.