🔧 chore: add flex to Input and Select

This commit is contained in:
Andre H 2024-03-01 13:49:30 +08:00
parent e9d38e0d3b
commit 596d8eb326
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ export const Input = ({
);
return (
<div className="gap-y-2">
<div className="flex flex-col gap-y-2">
{renderLabels}
<div className={containerCls({ class: className })}>
{leftIcon && renderLeftIcon}

View File

@ -287,7 +287,7 @@ export const Select = ({
const renderLabels = useMemo(() => {
if (!label && !description) return null;
return (
<div className="gap-y-1">
<div className="flex flex-col gap-y-1">
<p className={theme.label()}>{label}</p>
<p className={theme.description()}>{description}</p>
</div>