From 5a63e1dfc0640a07715f1cc60e237b49853be56a Mon Sep 17 00:00:00 2001 From: tjcafferkey Date: Tue, 31 Oct 2023 11:07:44 +0000 Subject: [PATCH 1/2] Remove border-bottom on the separator block to avoid double line issue within the editor --- packages/block-library/src/separator/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/separator/style.scss b/packages/block-library/src/separator/style.scss index e7965c8efe4da..b803425640ae2 100644 --- a/packages/block-library/src/separator/style.scss +++ b/packages/block-library/src/separator/style.scss @@ -1,6 +1,6 @@ .wp-block-separator { - border-top: 1px solid currentColor; - border-bottom: 1px solid currentColor; + border-top: 2px solid currentColor; + border-bottom: none; // Default, thin style, is stored in theme.scss so it can be opted out of // Unset the left and right borders by default, otherwise some browsers will render them as "inset". From 33e1f732f456dd5a255e4b66fd5e4ad4c706b364 Mon Sep 17 00:00:00 2001 From: tjcafferkey Date: Tue, 7 Nov 2023 13:51:20 +0000 Subject: [PATCH 2/2] Move unset border-bottom --- packages/block-library/src/separator/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/separator/style.scss b/packages/block-library/src/separator/style.scss index b803425640ae2..84622211e5a20 100644 --- a/packages/block-library/src/separator/style.scss +++ b/packages/block-library/src/separator/style.scss @@ -1,11 +1,11 @@ .wp-block-separator { border-top: 2px solid currentColor; - border-bottom: none; // Default, thin style, is stored in theme.scss so it can be opted out of - // Unset the left and right borders by default, otherwise some browsers will render them as "inset". + // Unset the left, right and bottom borders by default, otherwise some browsers will render them as "inset". border-left: none; border-right: none; + border-bottom: none; // Dots style &.is-style-dots {