Changed style on modal to allow for scroll if needed
This commit is contained in:
parent
4c42bec05f
commit
5af96a211b
@ -90,6 +90,9 @@ function AddMapButton({ onMapChanged }) {
|
|||||||
handleDone();
|
handleDone();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<Label pt={2} pb={1}>
|
||||||
|
Add map
|
||||||
|
</Label>
|
||||||
<input
|
<input
|
||||||
onChange={handleImageUpload}
|
onChange={handleImageUpload}
|
||||||
type="file"
|
type="file"
|
||||||
@ -104,7 +107,7 @@ function AddMapButton({ onMapChanged }) {
|
|||||||
sx={{
|
sx={{
|
||||||
width: "500px",
|
width: "500px",
|
||||||
minHeight: "200px",
|
minHeight: "200px",
|
||||||
maxHeight: "500px",
|
maxHeight: "300px",
|
||||||
objectFit: "contain",
|
objectFit: "contain",
|
||||||
borderRadius: "4px",
|
borderRadius: "4px",
|
||||||
}}
|
}}
|
||||||
|
@ -19,6 +19,7 @@ function StyledModal({ isOpen, onRequestClose, children }) {
|
|||||||
bottom: "auto",
|
bottom: "auto",
|
||||||
marginRight: "-50%",
|
marginRight: "-50%",
|
||||||
transform: "translate(-50%, -50%)",
|
transform: "translate(-50%, -50%)",
|
||||||
|
maxHeight: "100%",
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user