Make expanded WYSIWYG editor fill 90% of the viewport

This commit is contained in:
Antony Gelberg 2023-08-29 13:59:33 +01:00
parent ae7bff1546
commit cb86675593

View File

@ -62,8 +62,8 @@ export const EditorLayout = ({ children, isExpandMode, error, previewContent, on
hasRadius
shadow="popupShadow"
overflow="hidden"
width="70%"
height="70%"
width="90%"
height="90%"
onClick={(e) => e.stopPropagation()}
>
<Flex height="100%" alignItems="flex-start">
@ -124,4 +124,4 @@ EditorLayout.propTypes = {
isExpandMode: PropTypes.bool.isRequired,
previewContent: PropTypes.string,
onCollapse: PropTypes.func.isRequired,
};
};