Skip to content

Commit 5060af8

Browse files
committed
fix: update style for the toast
1 parent 142abd2 commit 5060af8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adminforth/spa/src/components/Toast.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
<div class="ms-3 text-sm font-normal max-w-xs pr-2" v-else>
2424
{{toast.message}}
2525
</div>
26-
<div v-if="toast.buttons" class="flex mt-2 gap-2 w-full ml-6">
26+
<div v-if="toast.buttons" class="flex mt-2 gap-2 w-full ml-3">
2727
<div v-for="button in toast.buttons" class="af-toast-button rounded-md bg-lightButtonsBackground hover:bg-lightButtonsHover text-lightButtonsText dark:bg-darkPrimary dark:hover:bg-darkButtonsBackground dark:text-darkButtonsText">
28-
<button @click="onButtonClick(button.value)" class="px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/10">
28+
<button @click="onButtonClick(button.value)" class="px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/10 text-sm">
2929
{{ button.label }}
3030
</button>
3131
</div>

0 commit comments

Comments
 (0)