File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3434 <div class =" flex flex-col items-center justify-center" >
3535 {{toast.message}}
3636 <div v-if =" toast.buttons" class =" flex justify-center mt-2 gap-2" >
37- <div v-for =" button in toast.buttons" class = " rounded-md bg-lightButtonsBackground hover:bg-lightButtonsHover text-lightButtonsText dark:bg-darkPrimary dark:hover:bg-darkButtonsBackground dark:text-darkButtonsText " >
38- <button @click =" onButtonClick(button.value)" class =" px-2 py-1 rounded hover:bg-black/5 dark:hover:bg-white/10 " >
37+ <div v-for =" button in toast.buttons" >
38+ <Button @click =" onButtonClick(button.value)" class =" ! px-2 py-0 text-md font-normal rounded-md " >
3939 {{ button.label }}
40- </button >
40+ </Button >
4141 </div >
4242 </div >
4343 </div >
5555<script setup lang="ts">
5656import { onMounted } from ' vue' ;
5757import { useToastStore } from ' @/stores/toast' ;
58+ import { Button } from ' @/afcl' ;
5859const toastStore = useToastStore ();
5960const emit = defineEmits ([' close' ]);
6061const props = defineProps <{
You can’t perform that action at this time.
0 commit comments