mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
M: Improve searchbar hitboxes
This commit is contained in:
parent
68843760a7
commit
caf11aa329
|
@ -47,7 +47,7 @@ export function SearchBar({
|
||||||
id={id}
|
id={id}
|
||||||
type='search'
|
type='search'
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'min-w-0 py-2',
|
'min-w-0 py-2 w-full pr-2',
|
||||||
'leading-tight truncate hover:text-clip',
|
'leading-tight truncate hover:text-clip',
|
||||||
'bg-transparent',
|
'bg-transparent',
|
||||||
!noIcon && 'pl-8',
|
!noIcon && 'pl-8',
|
||||||
|
|
|
@ -128,7 +128,7 @@ export function ToolbarSearch({ className, total, filtered }: ToolbarSearchProps
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='flex h-full grow pr-4'>
|
<div className='flex h-full grow pr-4 sm:pr-12'>
|
||||||
<SearchBar
|
<SearchBar
|
||||||
id='library_search'
|
id='library_search'
|
||||||
placeholder='Поиск'
|
placeholder='Поиск'
|
||||||
|
|
|
@ -138,7 +138,7 @@ export function EditorRSList() {
|
||||||
<SearchBar
|
<SearchBar
|
||||||
id='constituents_search'
|
id='constituents_search'
|
||||||
noBorder
|
noBorder
|
||||||
className='w-32'
|
className='max-w-50'
|
||||||
query={filterText}
|
query={filterText}
|
||||||
onChangeQuery={setFilterText}
|
onChangeQuery={setFilterText}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user