Skip to content

Commit

Permalink
add scrollbar on ptz presets dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed May 7, 2024
1 parent fc0f6d6 commit 2cee93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/live/LiveCameraView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ function PtzControlPanel({
<BsThreeDotsVertical />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuContent className="max-h-[40dvh] overflow-y-auto">
{ptz?.presets.map((preset) => {
return (
<DropdownMenuItem
Expand Down

0 comments on commit 2cee93d

Please sign in to comment.