From c49752c8190ec99622d527f4acfeb94847ecf1b1 Mon Sep 17 00:00:00 2001 From: Muhsin Shah C P Date: Tue, 17 May 2022 18:15:10 +0530 Subject: [PATCH] Resolved height issue (#3072) --- frontend/src/Editor/Container.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/Editor/Container.jsx b/frontend/src/Editor/Container.jsx index 6250787fab..45a9af0dc1 100644 --- a/frontend/src/Editor/Container.jsx +++ b/frontend/src/Editor/Container.jsx @@ -48,9 +48,8 @@ export const Container = ({ }) => { const styles = { width: currentLayout === 'mobile' ? deviceWindowWidth : '100%', - height: '100%', maxWidth: `${canvasWidth}px`, - maxHeight: `${canvasHeight}px`, + height: `${canvasHeight}px`, position: 'absolute', backgroundSize: `${canvasWidth / 43}px 10px`, };