Skip to content

Commit

Permalink
1563 - Fix the positioning of the add overlay to not overlap sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
mehigh committed Nov 26, 2018
1 parent bc9c96b commit 9a0daf6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/css/amp-editor-story-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,14 @@ div[data-amp-type="grid"] .block-library-image__resizer {
content: 'Add Layer';
}

.post-type-amp_story #amp-root-navigation .components-popover:not(.is-mobile).is-center .components-popover__content {
transform: translateX( -13% );
}

.post-type-amp_story.folded #amp-root-navigation .components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content {
margin-left: -50px;
}

/*
Legend of the magic numbers:
Sidebar
Expand Down

0 comments on commit 9a0daf6

Please sign in to comment.