Skip to content

Commit

Permalink
Patterns: Add black border back when editing synced pattern in the po…
Browse files Browse the repository at this point in the history
…st editor (#57631)
  • Loading branch information
glendaviesnz authored Jan 11, 2024
1 parent f154dc7 commit 512027e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 8 additions & 1 deletion packages/block-editor/src/components/block-canvas/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
iframe[name="editor-canvas"] {
width: 100%;
height: 100%;
background-color: $white;
display: block;
}

iframe[name="editor-canvas"]:not(.has-history) {
background-color: $white;
}

iframe[name="editor-canvas"].has-history {
padding: $grid-unit-60 $grid-unit-60 0;
}
5 changes: 0 additions & 5 deletions packages/editor/src/components/editor-canvas/style.scss

This file was deleted.

1 change: 0 additions & 1 deletion packages/editor/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@
@import "./components/preview-dropdown/style.scss";
@import "./components/table-of-contents/style.scss";
@import "./components/template-validation-notice/style.scss";
@import "./components/editor-canvas/style.scss";

0 comments on commit 512027e

Please sign in to comment.