B: Fix margin
This commit is contained in:
parent
7792a82bf7
commit
53a470352f
|
@ -57,7 +57,7 @@ function TextArea({
|
||||||
'resize-none': noResize,
|
'resize-none': noResize,
|
||||||
'border': !noBorder,
|
'border': !noBorder,
|
||||||
'flex-grow max-w-full': dense,
|
'flex-grow max-w-full': dense,
|
||||||
'mt-2': !dense,
|
'mt-2': !dense && !!label,
|
||||||
'clr-outline': !noOutline
|
'clr-outline': !noOutline
|
||||||
},
|
},
|
||||||
colors,
|
colors,
|
||||||
|
|
|
@ -55,7 +55,7 @@ function TextInput({
|
||||||
{
|
{
|
||||||
'px-3': !noBorder || !disabled,
|
'px-3': !noBorder || !disabled,
|
||||||
'flex-grow max-w-full': dense,
|
'flex-grow max-w-full': dense,
|
||||||
'mt-2': !dense,
|
'mt-2': !dense && !!label,
|
||||||
'border': !noBorder,
|
'border': !noBorder,
|
||||||
'clr-outline': !noOutline
|
'clr-outline': !noOutline
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user