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 talldan committed Mar 29, 2019
1 parent 95277f6 commit fa7549e
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 fa7549e

Please sign in to comment.