Increased wide modal size & removed preview file width limit (#1221)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2021-11-11 18:59:10 -06:00
committed by GitHub
parent 8102ab7e35
commit 3638455abb
3 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ const styles = () =>
height: 500,
},
"&.text": {
height: 500,
height: 700,
},
"&.audio": {
height: 150,

View File

@@ -38,6 +38,7 @@ const PreviewFileModal = ({
modalOpen={open}
title={`Preview - ${object?.name}`}
onClose={onClosePreview}
wideLimit={false}
>
<PreviewFileContent bucketName={bucketName} object={object} />
</ModalWrapper>

View File

@@ -155,7 +155,7 @@ const ModalWrapper = ({
paper: classes.customDialogSize,
},
}
: { maxWidth: "md" as const, fullWidth: true };
: { maxWidth: "lg" as const, fullWidth: true };
let message = "";