Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Post: Make sure block controls do not show up over sidebar on greater than small viewport #6081

Merged
merged 1 commit into from Apr 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions edit-post/assets/stylesheets/_z-index.scss
Expand Up @@ -44,7 +44,7 @@ $z-layers: (

// Block controls, particularly in nested contexts, floats aside block and
// should overlap most block content.
'.editor-block-list__block.is-{selected,hovered} .editor-block-{settings-menu,mover}': 100,
'.editor-block-list__block.is-{selected,hovered} .editor-block-{settings-menu,mover}': 80,

// Show sidebar above wp-admin navigation bar for mobile viewports:
// #wpadminbar { z-index: 99999 }
Expand All @@ -53,7 +53,7 @@ $z-layers: (

// Show sidebar in greater than small viewports above editor related elements
// but bellow #adminmenuback { z-index: 100 }
'.edit-post-sidebar {greater than small}': 50,
'.edit-post-sidebar {greater than small}': 90,

// Show notices below expanded wp-admin submenus:
// #adminmenuwrap { z-index: 9990 }
Expand Down