Skip to content

Commit

Permalink
Update the color of the selection button in exploded mode
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 20, 2022
1 parent 666d460 commit ba1f023
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ function BlockSelectionButton( { clientId, rootClientId } ) {
'block-editor-block-list__block-selection-button',
{
'is-block-moving-mode': !! blockMovingMode,
'is-exploded-mode': editorMode === 'exploded',
}
);

Expand Down
4 changes: 4 additions & 0 deletions packages/block-editor/src/components/block-tools/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@
font-size: $default-font-size;
height: $block-toolbar-height;

&.is-exploded-mode {
background: var(--wp-admin-theme-color);
}

.block-editor-block-list__block-selection-button__content {
margin: auto;
display: inline-flex;
Expand Down

0 comments on commit ba1f023

Please sign in to comment.