Fix mobile dialog styling (#1363)
This commit is contained in:
@ -31,11 +31,13 @@ export function Modal(props: {
|
||||
<div className="Modal__background" onClick={props.onCloseRequest}></div>
|
||||
<div
|
||||
className="Modal__content"
|
||||
style={{
|
||||
maxWidth: props.maxWidth,
|
||||
maxHeight: "100%",
|
||||
overflowY: "scroll",
|
||||
}}
|
||||
style={
|
||||
{
|
||||
"--max-width": `${props.maxWidth}px`,
|
||||
maxHeight: "100%",
|
||||
overflowY: "scroll",
|
||||
} as any
|
||||
}
|
||||
>
|
||||
{props.children}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user