Added mobile support to select dice modal and added padding to mobile modals

This commit is contained in:
Mitchell McCaffrey
2020-09-06 16:24:23 +10:00
parent 68f6860c1f
commit b07b9ff260
5 changed files with 42 additions and 15 deletions

View File

@@ -275,7 +275,7 @@ function SelectMapModal({
<Modal
isOpen={isOpen}
onRequestClose={handleClose}
style={{ maxWidth: "542px", width: "100%" }}
style={{ maxWidth: "542px", width: "calc(100% - 16px)" }}
>
<ImageDrop onDrop={handleImagesUpload} dropText="Drop map to upload">
<input