Skip to content

Commit

Permalink
Site Editor: Fix resizable box scrollbars in blocks (#38123)
Browse files Browse the repository at this point in the history
* Site Editor: Fix resizable box scrollbars in blocks

* No need to traget direct children
  • Loading branch information
Mamaduka authored Jan 23, 2022
1 parent c8023ef commit 34ed60b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/edit-site/src/components/block-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
overflow: visible;
}
}

.components-resizable-box__container {
margin: 0 auto;
// Removing this will cancel the bottom margins in the iframe.
overflow: auto;
}
}

.edit-site-visual-editor__back-button {
Expand All @@ -46,12 +52,6 @@
}
}

.components-resizable-box__container {
margin: 0 auto;
// Removing this will cancel the bottom margins in the iframe.
overflow: auto;
}

.resizable-editor__drag-handle {
$height: 100px;
position: absolute;
Expand Down

0 comments on commit 34ed60b

Please sign in to comment.