mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix control issue
This commit is contained in:
parent
b746c45d2d
commit
3939940244
@ -37,8 +37,8 @@ export const FilterControl = () => {
|
||||
{!(
|
||||
//popupOpen &&
|
||||
windowDimensions.height < 500) &&
|
||||
<div className='tw-flex tw-flex-col tw-absolute tw-top-4 tw-left-4 tw-z-[699] tw-right-4'>
|
||||
<input type="text" placeholder="search ..." className="tw-input tw-input-bordered tw-w-full tw-max-w-sm tw-shadow-xl tw-rounded-2xl" onChange={(e) => setSearchPhrase(e.target.value)} />
|
||||
<div className='tw-flex tw-flex-col tw-absolute tw-top-4 tw-left-4 tw-z-[699] tw-w-[calc(100vw-2rem)] tw-max-w-sm'>
|
||||
<input type="text" placeholder="search ..." className="tw-input tw-input-bordered tw-w-full tw-shadow-xl tw-rounded-2xl" onChange={(e) => setSearchPhrase(e.target.value)} />
|
||||
<div className='tw-flex tw-flex-wrap tw-mt-4'>
|
||||
{
|
||||
filterTags.map(tag =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user