1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

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