Skip to content

Commit

Permalink
Remove dead is-hovered selectors (#19870)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Jan 24, 2020
1 parent 282687b commit f6eb4ec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/block-library/src/navigation/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ $navigation-item-height: 46px;
}

// Remove the dashed outlines for child blocks.
&.is-hovered .wp-block-navigation .block-editor-block-list__block::before,
&.is-selected .wp-block-navigation .block-editor-block-list__block::before,
&.has-child-selected .wp-block-navigation .block-editor-block-list__block::before {
border-color: transparent !important; // !important used to keep the selector from growing any more complex.
Expand Down
5 changes: 0 additions & 5 deletions packages/block-library/src/social-links/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@
border-bottom: none;
}

.wp-block-social-links > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block.is-hovered:not(.is-navigate-mode)::before {
box-shadow: none;
}

// 4. Remove the dashed outlines for child blocks.
&.is-hovered .wp-block-social-links .block-editor-block-list__block::before,
&.is-selected .wp-block-social-links .block-editor-block-list__block::before,
&.has-child-selected .wp-block-social-links .block-editor-block-list__block::before {
border-color: transparent !important; // !important used to keep the selector from growing any more complex.
Expand Down

0 comments on commit f6eb4ec

Please sign in to comment.