🎨 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" type="search"
placeholder={placeholder} placeholder={placeholder}
appearance="borderless" appearance="borderless"
className="w-full lg:w-[459px]"
{...props} {...props}
/> />
</div> </div>

View File

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