fix: visual editor scrollbar issue

This commit is contained in:
yassinedorbozgithub 2024-11-12 11:28:57 +01:00
parent ceb2e203fd
commit 0a9d62a58c

View File

@ -18,7 +18,13 @@ const Aside = dynamic(() => import("./Aside"), { ssr: false });
export const VisualEditor = () => { export const VisualEditor = () => {
return ( return (
<VisualEditorProvider> <VisualEditorProvider>
<Grid container gap={2} flexDirection="column" height="100%" width="100%"> <Grid
container
gap={2}
flexDirection="column"
height="calc(100vh - 64px)"
width="100%"
>
<Grid container height="100%" margin="auto"> <Grid container height="100%" margin="auto">
<Aside /> <Aside />
<Grid <Grid