mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Make expanded WYSIWYG editor fill 90% of the viewport
This commit is contained in:
parent
ae7bff1546
commit
cb86675593
@ -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,
|
||||
};
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user