B: Fix margin

This commit is contained in:
Ivan 2025-02-05 12:13:05 +03:00
parent f1bdb70a76
commit df06e7a7b9
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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
}, },