From 99d6d46fd1459160ec0b7069bcb111a7b8f760ef Mon Sep 17 00:00:00 2001 From: dank074 Date: Thu, 20 Jul 2023 22:30:09 -0500 Subject: [PATCH] flooreditor canvas take full space on large screen --- .../floorplan-editor/views/FloorplanCanvasView.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/floorplan-editor/views/FloorplanCanvasView.tsx b/src/components/floorplan-editor/views/FloorplanCanvasView.tsx index 3a2a25f3..a3224e73 100644 --- a/src/components/floorplan-editor/views/FloorplanCanvasView.tsx +++ b/src/components/floorplan-editor/views/FloorplanCanvasView.tsx @@ -164,15 +164,17 @@ export const FloorplanCanvasView: FC = props => } }, []); + const isSmallScreen = () => window.innerWidth < 768; + return ( - + - + - +