diff --git a/src/Playroom/Playroom.tsx b/src/Playroom/Playroom.tsx index be6aa82d..8d25811d 100644 --- a/src/Playroom/Playroom.tsx +++ b/src/Playroom/Playroom.tsx @@ -146,7 +146,7 @@ export default ({ components, themes, widths, snippets }: PlayroomProps) => { })} defaultSize={sizeStyles} size={sizeStyles} - minWidth={MIN_WIDTH} + minWidth={isVerticalEditor ? MIN_WIDTH : undefined} minHeight={MIN_HEIGHT} onResize={(_event, _direction, { offsetWidth, offsetHeight }) => { updateEditorSize({ isVerticalEditor, offsetWidth, offsetHeight }); diff --git a/src/Playroom/variables.less b/src/Playroom/variables.less index 67a6e395..6047454a 100644 --- a/src/Playroom/variables.less +++ b/src/Playroom/variables.less @@ -86,7 +86,7 @@ @toolbar-closed-size: 60px; @toolbar-open-size: 300px; @toolbar-item-size: 60px; -@toolbar-max-item-count: 4; +@toolbar-max-item-count: 5; @toolbar-foregound: @gray-4; @toolbar-background: @white; @toolbar-highlight: @highlight;