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}
|
||||
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',
|
||||
|
|
|
@ -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='Поиск'
|
||||
|
|
|
@ -138,7 +138,7 @@ export function EditorRSList() {
|
|||
<SearchBar
|
||||
id='constituents_search'
|
||||
noBorder
|
||||
className='w-32'
|
||||
className='max-w-50'
|
||||
query={filterText}
|
||||
onChangeQuery={setFilterText}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user