M: Improve searchbar hitboxes
Some checks failed
Frontend CI / build (22.x) (push) Waiting to run
Frontend CI / notify-failure (push) Blocked by required conditions
Backend CI / build (3.12) (push) Has been cancelled
Backend CI / notify-failure (push) Has been cancelled

This commit is contained in:
Ivan 2025-04-29 21:42:28 +03:00
parent 68843760a7
commit caf11aa329
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ export function SearchBar({
id={id}
type='search'
className={clsx(
'min-w-0 py-2',
'min-w-0 py-2 w-full pr-2',
'leading-tight truncate hover:text-clip',
'bg-transparent',
!noIcon && 'pl-8',

View File

@ -128,7 +128,7 @@ export function ToolbarSearch({ className, total, filtered }: ToolbarSearchProps
/>
</div>
<div className='flex h-full grow pr-4'>
<div className='flex h-full grow pr-4 sm:pr-12'>
<SearchBar
id='library_search'
placeholder='Поиск'

View File

@ -138,7 +138,7 @@ export function EditorRSList() {
<SearchBar
id='constituents_search'
noBorder
className='w-32'
className='max-w-50'
query={filterText}
onChangeQuery={setFilterText}
/>