mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
add scrollbar on ptz presets dropdown
This commit is contained in:
parent
fc0f6d6095
commit
2cee93dc3e
@ -545,7 +545,7 @@ function PtzControlPanel({
|
|||||||
<BsThreeDotsVertical />
|
<BsThreeDotsVertical />
|
||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent>
|
<DropdownMenuContent className="max-h-[40dvh] overflow-y-auto">
|
||||||
{ptz?.presets.map((preset) => {
|
{ptz?.presets.map((preset) => {
|
||||||
return (
|
return (
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
|
Loading…
Reference in New Issue
Block a user