fix: add xs size to buttons

This commit is contained in:
Xylight committed 2024-10-19 15:37:03 -07:00
1 parent 9e97642dbe
commit 8c6887b576
2 files changed
+3 -2

No files matched your search

@@ -130,7 +130,7 @@
<Button
color="ghost"
slot="target"
size="sm"
size="xs"
rounding="pill"
class="p-0.5 px-1 w-max mt-auto text-slate-600 dark:text-zinc-400 block
text-xs"
@@ -148,7 +148,7 @@
target="_blank"
class="text-slate-900 dark:text-zinc-300 items-center
text-xs overflow-hidden max-w-full block flex-shrink"
size="sm"
size="xs"
color="ghost"
rounding="pill"
>
+1
View File
@@ -51,6 +51,7 @@
export type ButtonSize = keyof typeof buttonSize
export const buttonSize = {
xs: 'px-2 py-1 text-xs',
sm: 'px-3 py-1.5 text-xs',
md: 'px-3 py-1.5',
lg: 'px-4 py-2',