From a723f116bbbf9c9b96d4a4f1e7b23f3357805b8c Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Tue, 19 Dec 2023 17:03:22 -0800 Subject: [PATCH] Pull WorkspaceElastic styles up --- src/components/WorkspaceElastic.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/WorkspaceElastic.js b/src/components/WorkspaceElastic.js index e3972e3dca..f871ab9983 100644 --- a/src/components/WorkspaceElastic.js +++ b/src/components/WorkspaceElastic.js @@ -6,6 +6,12 @@ import ResizeObserver from 'react-resize-observer'; import WorkspaceElasticWindow from '../containers/WorkspaceElasticWindow'; import ns from '../config/css-ns'; +const Root = styled('div', { name: 'WorkspaceElastic', slot: 'root' })({ + height: '100%', + position: 'relative', + width: '100%', +}); + const StyledRnd = styled(Rnd)({ boxSizing: 'border-box', margin: 0, @@ -39,7 +45,7 @@ class WorkspaceElastic extends Component { const offsetY = workspace.height / 2; return ( -
+ {}} onResize={(rect) => { setWorkspaceViewportDimensions(rect); }} @@ -79,7 +85,7 @@ class WorkspaceElastic extends Component { )) } -
+ ); } }