Skip to content

Commit

Permalink
Fix scrolling when editing a template part
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Oct 20, 2022
1 parent 5a82cf5 commit 26b91a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/edit-site/src/components/block-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
&.is-focus-mode {
padding: $grid-unit-60;

// In focus mode, we have to show the scrollbars if the edited template
// part overlows the container.
overflow: auto;

.edit-site-visual-editor__editor-canvas {
border-radius: $radius-block-ui;
}
Expand Down

0 comments on commit 26b91a6

Please sign in to comment.