mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
Fix drawer not being scrollable
This commit is contained in:
parent
36d5e5b45f
commit
afb15a2e54
@ -27,7 +27,8 @@ export default function MobileCameraDrawer({
|
|||||||
<FaVideo className="text-muted-foreground" />
|
<FaVideo className="text-muted-foreground" />
|
||||||
</Button>
|
</Button>
|
||||||
</DrawerTrigger>
|
</DrawerTrigger>
|
||||||
<DrawerContent className="max-h-[75dvh] overflow-y-auto flex flex-col items-center gap-2 px-4 pb-4 mx-1 rounded-t-2xl">
|
<DrawerContent className="max-h-[75dvh] px-4 pb-4 mx-1 rounded-t-2xl overflow-hidden">
|
||||||
|
<div className="w-full h-auto overflow-y-auto overflow-x-hidden flex flex-col items-center gap-2">
|
||||||
{allCameras.map((cam) => (
|
{allCameras.map((cam) => (
|
||||||
<div
|
<div
|
||||||
key={cam}
|
key={cam}
|
||||||
@ -40,6 +41,7 @@ export default function MobileCameraDrawer({
|
|||||||
{cam.replaceAll("_", " ")}
|
{cam.replaceAll("_", " ")}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
</div>
|
||||||
</DrawerContent>
|
</DrawerContent>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user