🔧 chore: add flex to Input and Select
This commit is contained in:
parent
e9d38e0d3b
commit
596d8eb326
@ -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}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user