Skip to content

Commit

Permalink
Update the CSS namespacing to include the __
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Feb 29, 2024
1 parent f63e4ef commit 3f9fa3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function BlockBindingsToolbarIndicator() {
<ToolbarItem
as={ 'div' }
aria-label={ _x( 'Connected', 'block toolbar button label' ) }
className="block-editor-block-bindings-indicator block-toolbar-block-bindings-indicator"
className="block-editor__block-bindings-indicator block-toolbar__block-bindings-indicator"
>
<Icon icon={ connection } size={ 24 } />
</ToolbarItem>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.block-toolbar-block-bindings-indicator {
.block-toolbar__block-bindings-indicator {
display: inline-flex;
align-items: center;
height: 48px;
padding: 6px;
}

.block-editor-block-bindings-indicator svg g {
.block-editor__block-bindings-indicator svg g {
stroke: #9747ff;
fill: transparent;
stroke-width: 1.5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function ListViewBlockSelectButton(
</span>
) }
{ isConnected && canBindBlock( blockName ) && (
<span className="block-editor-block-bindings-indicator">
<span className="block-editor__block-bindings-indicator">
<Icon icon={ connection } />
</span>
) }
Expand Down

0 comments on commit 3f9fa3b

Please sign in to comment.