diff --git a/src/components/PermanentDrawer.tsx b/src/components/PermanentDrawer.tsx index 83e951b..322059e 100644 --- a/src/components/PermanentDrawer.tsx +++ b/src/components/PermanentDrawer.tsx @@ -11,6 +11,7 @@ import * as React from 'react'; import config from '../etc/config.json'; const drawerWidth = 340; +const toolbarHeight = 64; // TODO Will this work everywhere? type Props = { menu?: React.ReactNode; @@ -51,9 +52,17 @@ export default function PermanentDrawer({ menu, title, children }: Props) { {menu} )} - + - {children} + + {children} + ); diff --git a/src/components/threeJs/Canvas.tsx b/src/components/threeJs/Canvas.tsx index 6de3a78..e4c8668 100644 --- a/src/components/threeJs/Canvas.tsx +++ b/src/components/threeJs/Canvas.tsx @@ -18,33 +18,31 @@ type Props = JSX.IntrinsicElements['group'] & { export default function ThreeJsCanvas({ geometry, onSelect }: Props) { return ( -
- - - - -
- { - onSelect(e); - e.stopPropagation(); - }} - /> -
- - - -
-
+ + + + +
+ { + onSelect(e); + e.stopPropagation(); + }} + /> +
+ + + +
); }