mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
keep box the same size when filtering icons
This commit is contained in:
parent
2324eb93d8
commit
207c338587
@ -114,6 +114,7 @@ export default function IconPicker({
|
||||
value={searchTerm}
|
||||
onChange={(e) => setSearchTerm(e.target.value)}
|
||||
/>
|
||||
<div className="flex flex-col flex-1 h-[20dvh]">
|
||||
<div className="grid grid-cols-6 my-2 gap-2 max-h-[20dvh] overflow-y-auto pr-1">
|
||||
{icons.map(([name, Icon]) => (
|
||||
<div
|
||||
@ -135,6 +136,7 @@ export default function IconPicker({
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user