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:
@@ -36,7 +36,7 @@ const styles = () =>
|
||||
height: 500,
|
||||
},
|
||||
"&.text": {
|
||||
height: 500,
|
||||
height: 700,
|
||||
},
|
||||
"&.audio": {
|
||||
height: 150,
|
||||
|
||||
@@ -38,6 +38,7 @@ const PreviewFileModal = ({
|
||||
modalOpen={open}
|
||||
title={`Preview - ${object?.name}`}
|
||||
onClose={onClosePreview}
|
||||
wideLimit={false}
|
||||
>
|
||||
<PreviewFileContent bucketName={bucketName} object={object} />
|
||||
</ModalWrapper>
|
||||
|
||||
@@ -155,7 +155,7 @@ const ModalWrapper = ({
|
||||
paper: classes.customDialogSize,
|
||||
},
|
||||
}
|
||||
: { maxWidth: "md" as const, fullWidth: true };
|
||||
: { maxWidth: "lg" as const, fullWidth: true };
|
||||
|
||||
let message = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user