Skip to content

Commit

Permalink
Merge pull request #2811 from WordPress/fix/block-warning-pointer-events
Browse files Browse the repository at this point in the history
Validation: Fix pointer events for invalid block warning
  • Loading branch information
aduth authored Sep 27, 2017
2 parents bd0927f + 96ef6b2 commit e859601
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions editor/modes/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@
&.has-warning .editor-visual-editor__block-edit {
position: relative;
min-height: 250px;
pointer-events: none;
user-select: none;

> :not( .editor-visual-editor__block-warning ) {
pointer-events: none;
user-select: none;
}
}

&.has-warning .editor-visual-editor__block-edit::after {
Expand Down

0 comments on commit e859601

Please sign in to comment.