fix(player): add max-height to modals for smaller screens

This commit is contained in:
Jip Fr 2023-04-14 19:39:01 +02:00
parent d2ffa35f2c
commit 0794558338

View File

@ -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,
}}
>