From 07945583380bb451d25e08c6aa8e2273328894e5 Mon Sep 17 00:00:00 2001 From: Jip Fr Date: Fri, 14 Apr 2023 19:39:01 +0200 Subject: [PATCH] fix(player): add max-height to modals for smaller screens --- src/components/popout/FloatingView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/popout/FloatingView.tsx b/src/components/popout/FloatingView.tsx index 9ae797ee..4c21f136 100644 --- a/src/components/popout/FloatingView.tsx +++ b/src/components/popout/FloatingView.tsx @@ -29,6 +29,7 @@ export function FloatingView(props: Props) { data-floating-page={props.show ? "true" : undefined} style={{ height: props.height ? `${props.height}px` : undefined, + maxHeight: "70vh", width: props.width ? width : undefined, }} >