mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-30 16:17:41 +01:00
fix(player): add max-height to modals for smaller screens
This commit is contained in:
parent
d2ffa35f2c
commit
0794558338
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
}}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue