Skip to content

Commit

Permalink
Fix visibility of nested Group block appender (#45050)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines authored and michalczaplinski committed Oct 18, 2022
1 parent 74a6d89 commit 25d2b4c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
.block-list-appender:only-child {
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > &,
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > &,
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__layout > &,
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__layout > & {
// Legacy groups have an inner container so need to be targeted separately
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > &,
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .wp-block-group__inner-container > & {
pointer-events: none;

&::after {
Expand Down

0 comments on commit 25d2b4c

Please sign in to comment.