diff --git a/src/components/gui/gui.css b/src/components/gui/gui.css index 4e322e088..af7500fb0 100644 --- a/src/components/gui/gui.css +++ b/src/components/gui/gui.css @@ -163,11 +163,23 @@ */ display: flex; flex-direction: column; +} - /* Fix the max width to max stage size (defined in layout_constants.js) + gutter size */ +.stage-and-target-wrapper.large { + /* Fix the max width to max large stage size (defined in layout_constants.js) + gutter size */ max-width: calc(480px + calc($space * 2)); } +.stage-and-target-wrapper.large-constrained { + /* Fix the max width to max largeConstrained stage size (defined in layout_constants.js) + gutter size */ + max-width: calc(408px + calc($space * 2)); +} + +.stage-and-target-wrapper.small { + /* Fix the max width to max small stage size (defined in layout_constants.js) + gutter size */ + max-width: calc(240px + calc($space * 2)); +} + .target-wrapper { display: flex; flex-grow: 1; diff --git a/src/components/gui/gui.jsx b/src/components/gui/gui.jsx index 246ba79cd..2d3cf79b8 100644 --- a/src/components/gui/gui.jsx +++ b/src/components/gui/gui.jsx @@ -240,7 +240,7 @@ const GUIComponent = props => { ) : null} - +