From 4f739a2ee402700319282660b09c30c53217627a Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Thu, 21 Apr 2022 20:06:27 +0200 Subject: [PATCH 1/2] Global Styles Sidebar: tweak separator margin and color --- packages/edit-site/src/components/sidebar/style.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/edit-site/src/components/sidebar/style.scss b/packages/edit-site/src/components/sidebar/style.scss index 34f2dba87ed78..e8cacbe67d9c3 100644 --- a/packages/edit-site/src/components/sidebar/style.scss +++ b/packages/edit-site/src/components/sidebar/style.scss @@ -136,3 +136,10 @@ $split-border-control-offset: 55px; } } } + +// Override the `hr` styles defined for the complementary area component +// from the `@wordpress/interface` package. +.edit-site-global-styles-sidebar hr { + margin: 0; + border-color: rgba(0, 0, 0, 0.1); +} From 004800b4532ece57d86e60474ec5ddaef458d22c Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Fri, 22 Apr 2022 11:50:34 +0200 Subject: [PATCH 2/2] Remove separator color override --- packages/edit-site/src/components/sidebar/style.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/edit-site/src/components/sidebar/style.scss b/packages/edit-site/src/components/sidebar/style.scss index e8cacbe67d9c3..b2a4119e5c71e 100644 --- a/packages/edit-site/src/components/sidebar/style.scss +++ b/packages/edit-site/src/components/sidebar/style.scss @@ -137,9 +137,8 @@ $split-border-control-offset: 55px; } } -// Override the `hr` styles defined for the complementary area component +// Override the `hr` styles defined in the `ComplementaryArea` component // from the `@wordpress/interface` package. .edit-site-global-styles-sidebar hr { margin: 0; - border-color: rgba(0, 0, 0, 0.1); }