design: fix classvalue (#560)
This commit is contained in:
1 parent
76c581123a
commit
3d509a6e28
14 files changed
+106
-81
No files matched your search
@@ -149,7 +149,7 @@
|
||||
rounding = size == 'lg' ? 'xl' : 'lg',
|
||||
roundingSide = 'all',
|
||||
alignment = 'center',
|
||||
shadow = 'none',
|
||||
shadow = 'sm',
|
||||
column = false,
|
||||
disabled,
|
||||
loaderWidth = undefined,
|
||||
@@ -185,11 +185,12 @@
|
||||
type={submit ? 'submit' : 'button'}
|
||||
>
|
||||
<div
|
||||
class="flex {column
|
||||
? 'flex-col justify-center'
|
||||
: 'flex-row items-center'} h-full gap-1.5 button-content {buttonAlignment[
|
||||
alignment
|
||||
]}"
|
||||
class={[
|
||||
'flex',
|
||||
column ? 'flex-col justify-center' : 'flex-row items-center',
|
||||
'h-full gap-1.5 button-content',
|
||||
buttonAlignment[alignment],
|
||||
]}
|
||||
>
|
||||
{#if loading}
|
||||
<Spinner width={loaderWidth ?? 16} />
|
||||
|
||||
Reference in new issue
Block a user