Skip to content

Commit

Permalink
prevent selecting sub blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 27, 2022
1 parent d8f93f3 commit df2b505
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
background: rgba(var(--wp-admin-theme-color--rgb), 0.1);
box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color) inset;
}
}

.block-editor-block-list__block.has-block-overlay .block-editor-block-list__block::before {
display: none;
content: none;
z-index: -1;
.block-editor-block-list__block {
pointer-events: none;
}
}

0 comments on commit df2b505

Please sign in to comment.