refactor: 🔥 Clean up codebase

This commit is contained in:
Jesse Wierzbinski 2024-12-07 13:46:19 +01:00
parent 1b5e7a6575
commit ee8c543cd9
No known key found for this signature in database
24 changed files with 25 additions and 391 deletions

View file

@ -48,7 +48,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-if="!props.hideClose"
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
>
<X class="w-4 h-4" />
<X class="size-4" />
<span class="sr-only">Close</span>
</DialogClose>
</DialogContent>

View file

@ -52,7 +52,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
<DialogClose
class="absolute top-3 right-3 p-0.5 transition-colors rounded-md hover:bg-secondary"
>
<X class="w-4 h-4" />
<X class="size-4" />
<span class="sr-only">Close</span>
</DialogClose>
</DialogContent>