File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,14 @@ const StageHeaderComponent = function (props) {
195195 < Box
196196 className = { styles . stageHeaderWrapper }
197197 // + 2 px because the stage will have 2 pixels of border around it
198- style = { { minWidth : `${ stageDimensions . width + 2 } px` } }
198+ style = { { minWidth : `${
199+ stageSize === STAGE_DISPLAY_SIZES . constrained
200+ ? STAGE_DISPLAY_SCALE_METADATA . constrained . scale * Math . max ( stageDimensions . widthDefault , FIXED_WIDTH ) + 2
201+ : ( stageSizeMode === STAGE_SIZE_MODES . full || stageSizeMode === STAGE_SIZE_MODES . large ) && stageDimensions . width <= FIXED_WIDTH
202+ ? FIXED_WIDTH + 2
203+ : stageDimensions . width + 2
204+ } px`
205+ } }
199206 >
200207 < Box className = { styles . stageMenuWrapper } >
201208 < Controls
You can’t perform that action at this time.
0 commit comments