fix: add xs size to buttons
This commit is contained in:
1 parent
9e97642dbe
commit
8c6887b576
2 files changed
+3
-2
No files matched your search
@@ -130,7 +130,7 @@
|
|||||||
<Button
|
<Button
|
||||||
color="ghost"
|
color="ghost"
|
||||||
slot="target"
|
slot="target"
|
||||||
size="sm"
|
size="xs"
|
||||||
rounding="pill"
|
rounding="pill"
|
||||||
class="p-0.5 px-1 w-max mt-auto text-slate-600 dark:text-zinc-400 block
|
class="p-0.5 px-1 w-max mt-auto text-slate-600 dark:text-zinc-400 block
|
||||||
text-xs"
|
text-xs"
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
class="text-slate-900 dark:text-zinc-300 items-center
|
class="text-slate-900 dark:text-zinc-300 items-center
|
||||||
text-xs overflow-hidden max-w-full block flex-shrink"
|
text-xs overflow-hidden max-w-full block flex-shrink"
|
||||||
size="sm"
|
size="xs"
|
||||||
color="ghost"
|
color="ghost"
|
||||||
rounding="pill"
|
rounding="pill"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -51,6 +51,7 @@
|
|||||||
export type ButtonSize = keyof typeof buttonSize
|
export type ButtonSize = keyof typeof buttonSize
|
||||||
|
|
||||||
export const buttonSize = {
|
export const buttonSize = {
|
||||||
|
xs: 'px-2 py-1 text-xs',
|
||||||
sm: 'px-3 py-1.5 text-xs',
|
sm: 'px-3 py-1.5 text-xs',
|
||||||
md: 'px-3 py-1.5',
|
md: 'px-3 py-1.5',
|
||||||
lg: 'px-4 py-2',
|
lg: 'px-4 py-2',
|
||||||
|
|||||||
Reference in new issue
Block a user