Fix camera list not scrolling (#10713)

This commit is contained in:
Nicolas Mowen 2024-03-27 17:24:41 -06:00 committed by GitHub
parent 4e800e19ff
commit f3abc590e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ export default function MobileCameraDrawer({
<FaVideo className="text-muted-foreground" /> <FaVideo className="text-muted-foreground" />
</Button> </Button>
</DrawerTrigger> </DrawerTrigger>
<DrawerContent className="max-h-[75dvh] overflow-hidden flex flex-col items-center gap-2 px-4 pb-4 mx-1 rounded-t-2xl"> <DrawerContent className="max-h-[75dvh] overflow-y-auto flex flex-col items-center gap-2 px-4 pb-4 mx-1 rounded-t-2xl">
{allCameras.map((cam) => ( {allCameras.map((cam) => (
<div <div
key={cam} key={cam}