Skip to content

Commit

Permalink
Fix settings tab active state border in block inspector (#48945)
Browse files Browse the repository at this point in the history
* Update style.scss

* Try margin on panel body instead

* Add comment
  • Loading branch information
richtabor authored and Mamaduka committed Mar 14, 2023
1 parent a1aafaa commit 15c8701
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
.components-panel__body {
border: none;
border-top: $border-width solid $gray-200;

// Ensures this PanelBody is treated like the ToolsPanel, removing double borders.
margin-top: -$border-width;
}

.block-editor-block-card {
Expand Down

0 comments on commit 15c8701

Please sign in to comment.