forked from cerc-io/snowballtools-base
🎨 style: adjust input and search bar input style
This commit is contained in:
parent
6ddf44cddd
commit
5a86abd133
@ -16,6 +16,7 @@ const SearchBar: React.ForwardRefRenderFunction<
|
|||||||
type="search"
|
type="search"
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
appearance="borderless"
|
appearance="borderless"
|
||||||
|
className="w-full lg:w-[459px]"
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -87,12 +87,12 @@ export const Input = ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-2">
|
<div className="space-y-2 w-full">
|
||||||
{renderLabels}
|
{renderLabels}
|
||||||
<div className={containerCls({ class: className })}>
|
<div className={containerCls({ class: className })}>
|
||||||
{leftIcon && renderLeftIcon}
|
{leftIcon && renderLeftIcon}
|
||||||
<input
|
<input
|
||||||
className={cn(inputCls({ class: 'w-80' }), {
|
className={cn(inputCls(), {
|
||||||
'pl-10': leftIcon,
|
'pl-10': leftIcon,
|
||||||
})}
|
})}
|
||||||
{...props}
|
{...props}
|
||||||
|
Loading…
Reference in New Issue
Block a user