Skip to content

Commit

Permalink
Restore single-column styling for appropriate controls
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc committed Nov 1, 2021
1 parent 1610efa commit 917053a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/hooks/border.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.border-block-support-panel {
.single-column {
grid-column: span 1;
}
}
1 change: 1 addition & 0 deletions packages/block-editor/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
@import "./components/warning/style.scss";
@import "./hooks/anchor.scss";
@import "./hooks/layout.scss";
@import "./hooks/border.scss";
@import "./hooks/typography.scss";

@import "./components/block-toolbar/style.scss";
Expand Down
4 changes: 4 additions & 0 deletions packages/edit-site/src/components/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
border: 0;
}

.edit-site-global-styles-sidebar .components-tools-panel-item.single-column {
grid-column: span 1;
}

.edit-site-global-styles-sidebar__blocks-group {
padding-top: $grid-unit-30;
border-top: $border-width solid $gray-200;
Expand Down

0 comments on commit 917053a

Please sign in to comment.