Skip to content

Commit

Permalink
Fix sticky scrollbar with sidebar open.
Browse files Browse the repository at this point in the history
This fixes a regression I introduced when I mobile optimized the sidebar. Essentially I wanted to fix scroll bleed. But the introduction of overflow hidden broke the sticky toolbars.

I will revisit fixing scroll bleed in the mobile inserter, but for now this basically reverts it.
  • Loading branch information
jasmussen committed Jun 15, 2017
1 parent 7045980 commit 7658b48
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions editor/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@
}
}

.editor-layout.is-sidebar-opened {
overflow: hidden;

@include break-small() {
overflow: auto;
}
}

.editor-layout.is-sidebar-opened .editor-sidebar {
/* Sidebar covers screen on mobile */
width: 100%;
Expand Down

0 comments on commit 7658b48

Please sign in to comment.