Skip to content

Commit

Permalink
Fix issue with double scrollbar in Fullscreen Mode (#14677)
Browse files Browse the repository at this point in the history
This PR fixes an issue where the sidebar would have two scrollbars when in fullscreen mode.
  • Loading branch information
jasmussen authored and ellatrix committed Apr 3, 2019
1 parent 9f9202a commit 6eaa928
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/edit-post/src/components/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,10 @@
z-index: z-index(".edit-post-sidebar .components-panel");

@include break-small() {
overflow: inherit;
overflow: hidden;
height: auto;
max-height: none;
}

@include break-medium() {

body.is-fullscreen-mode & {
max-height: calc(100vh - #{ $panel-header-height });
}
}
}

> .components-panel .components-panel__header {
Expand Down

0 comments on commit 6eaa928

Please sign in to comment.