Changed h-w to size

This commit is contained in:
Alexis
2025-04-17 21:41:48 +02:00
parent 36456ce377
commit 8215791830
20 changed files with 303 additions and 572 deletions

View File

@@ -17,6 +17,6 @@ const delegatedProps = computed(() => {
<template>
<ToastClose v-bind="delegatedProps" :class="cn('absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-hidden focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 hover:group-[.destructive]:text-red-50 focus:group-[.destructive]:ring-red-400 focus:group-[.destructive]:ring-offset-red-600', props.class)">
<X class="h-4 w-4" />
<X class="size-4" />
</ToastClose>
</template>