Skip to content

Commit f417912

Browse files
author
Rich Tabor
authored
Fix settings tab active state border in block inspector (#48945)
* Update style.scss * Try margin on panel body instead * Add comment
1 parent c6d69e1 commit f417912

File tree

1 file changed

+3
-0
lines changed
  • packages/block-editor/src/components/block-inspector

1 file changed

+3
-0
lines changed

packages/block-editor/src/components/block-inspector/style.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
.components-panel__body {
2828
border: none;
2929
border-top: $border-width solid $gray-200;
30+
31+
// Ensures this PanelBody is treated like the ToolsPanel, removing double borders.
32+
margin-top: -$border-width;
3033
}
3134

3235
.block-editor-block-card {

0 commit comments

Comments
 (0)