mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 20:47:44 +00:00
🎨 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"
|
||||
placeholder={placeholder}
|
||||
appearance="borderless"
|
||||
className="w-full lg:w-[459px]"
|
||||
{...props}
|
||||
/>
|
||||
</div>
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user