Skip to content

Commit

Permalink
Fix crashed block height and inserted order (#8926)
Browse files Browse the repository at this point in the history
* Crash block: fix min height

Needs to be twice as tall otherwise it will overlap other blocks

* Crash block: allow inserter to appear over block
  • Loading branch information
johngodley committed Aug 16, 2018
1 parent 8d9b4b3 commit c647b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions edit-post/assets/stylesheets/_z-index.scss
Expand Up @@ -18,9 +18,9 @@ $z-layers: (
".edit-post-meta-boxes-area .spinner": 5,
".editor-block-contextual-toolbar": 21,
".components-popover__close": 5,
".editor-block-list__insertion-point": 5,
".editor-block-list__insertion-point": 6,
".editor-inserter-with-shortcuts": 5,
".editor-warning": 6,
".editor-warning": 5,
".block-library-gallery-item__inline-menu": 20,
".editor-url-input__suggestions": 30,
".edit-post-header": 30,
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/block-list/style.scss
Expand Up @@ -279,7 +279,7 @@

.editor-block-list__layout .editor-block-list__block {
&.has-warning {
min-height: $block-padding + $block-spacing;
min-height: ( $block-padding + $block-spacing ) * 2;
}

// Warnings
Expand Down

0 comments on commit c647b05

Please sign in to comment.