Skip to content

Commit

Permalink
add max height to settings cameras dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed May 4, 2024
1 parent e1e6d8d commit 42fe6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function CameraSelectButton({
<DropdownMenuSeparator />
</>
)}
<div className="h-auto p-4 mb-5 md:mb-1 overflow-y-auto overflow-x-hidden">
<div className="h-auto max-h-[80dvh] p-4 mb-5 md:mb-1 overflow-y-auto overflow-x-hidden">
<div className="flex flex-col gap-2.5">
{allCameras.map((item) => (
<FilterSwitch
Expand Down

0 comments on commit 42fe6f4

Please sign in to comment.