🎨 style: adjust input and search bar input style

This commit is contained in:
Wahyu Kurniawan 2024-03-06 10:30:50 +07:00
parent 6ddf44cddd
commit 5a86abd133
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ const SearchBar: React.ForwardRefRenderFunction<
type="search"
placeholder={placeholder}
appearance="borderless"
className="w-full lg:w-[459px]"
{...props}
/>
</div>

View File

@ -87,12 +87,12 @@ export const Input = ({
);
return (
<div className="space-y-2">
<div className="space-y-2 w-full">
{renderLabels}
<div className={containerCls({ class: className })}>
{leftIcon && renderLeftIcon}
<input
className={cn(inputCls({ class: 'w-80' }), {
className={cn(inputCls(), {
'pl-10': leftIcon,
})}
{...props}