Skip to content

Commit

Permalink
Fix issue with double scrollbar in Fullscreen Mode
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
Joen Asmussen committed Mar 28, 2019
1 parent c7f846a commit 20f04b8
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 20f04b8

Please sign in to comment.