Skip to content

Commit

Permalink
Fix regression per rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Mar 15, 2018
1 parent de3cb32 commit e87bb0b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions edit-post/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
.edit-post-visual-editor .editor-writing-flow__click-redirect {
// Collapse to minimum height of 50px, to fully occupy editor bottom pad.
height: 50px;
width: $visual-editor-max-width;
width: $content-width;
// Offset for: Visual editor padding, block (default appender) margin.
margin: #{ -1 * $block-spacing } auto -50px;
}
Expand Down Expand Up @@ -95,6 +95,7 @@

.edit-post-visual-editor .editor-default-block-appender {
// Default to centered and content-width, like blocks
max-width: $content-width;
margin-left: auto;
margin-right: auto;
position: relative;
Expand All @@ -106,11 +107,11 @@
}

@include break-small() {
padding: 0 $block-mover-padding-visible; // don't subtract 1px border because it's a border not an outline
padding: 0 $block-side-ui-padding; // don't subtract 1px border because it's a border not an outline

.components-drop-zone {
left: $block-mover-padding-visible;
right: $block-mover-padding-visible;
left: $block-side-ui-padding;
right: $block-side-ui-padding;
}

.editor-default-block-appender__content {
Expand Down

0 comments on commit e87bb0b

Please sign in to comment.