From 2278e9417052a808ccebf3eb75a148330d1d270f Mon Sep 17 00:00:00 2001 From: Razvan Date: Fri, 1 Jul 2022 11:52:44 +0300 Subject: [PATCH] Adjust styling for button groups separator inside nb navigable menu - #404 --- .../custom-menu-item/editor-styles.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/block-editor/src/components/custom-menu-item/editor-styles.scss b/packages/block-editor/src/components/custom-menu-item/editor-styles.scss index eb84b54e..049d3279 100644 --- a/packages/block-editor/src/components/custom-menu-item/editor-styles.scss +++ b/packages/block-editor/src/components/custom-menu-item/editor-styles.scss @@ -22,4 +22,22 @@ font-size: 12px; opacity: 0.5; } + + .components-menu-group + .components-menu-group { + position: relative; + border: 0; + + &:before { + content: ""; + + position: absolute; + top: 0; + left: -8px; + right: -8px; + + display: block; + height: 1px; + background-color: #CCCCCC; + } + } }