Skip to content

Commit

Permalink
fix: style of NeInlineNotification buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Apr 10, 2024
1 parent 86ce5ee commit 531f7c7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/NeInlineNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,12 @@ const closeIconKindStyle: { [index: string]: string } = {
</button>
<button
v-if="secondaryButtonLabel"
:class="`ml-3 rounded-md px-2 py-1.5 text-sm font-medium transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 ${
buttonsKindStyle[props.kind as string]
}`"
:class="[
`rounded-md px-2 py-1.5 text-sm font-medium transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 ${
buttonsKindStyle[props.kind as string]
}`,
{ 'ml-3': primaryButtonLabel }
]"
type="button"
@click="emit('secondaryClick')"
>
Expand Down

0 comments on commit 531f7c7

Please sign in to comment.