Skip to content

Commit

Permalink
Keep the sidebar border
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 10, 2024
1 parent f303b3a commit 34630fc
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/edit-post/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,3 @@ body.js.block-editor-page {
}

@include wordpress-admin-schemes();

// The edit-site package adds or removes the sidebar when it's opened or closed.
// The edit-post package, however, always has the sidebar in the canvas.
// These edit-post specific rules ensures there isn't a border on the right of
// the canvas when a sidebar is visually closed.
.interface-interface-skeleton__sidebar {
border-left: none;

.is-sidebar-opened & {
@include break-medium() {
border-left: $border-width solid $gray-200;
overflow: hidden scroll;
}
}
}

0 comments on commit 34630fc

Please sign in to comment.