From a3eeef5a8b39a0983e2661e888f9105c89126030 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 5 Aug 2020 09:35:34 +0200 Subject: [PATCH] Tune the focus style to be clearer. --- packages/block-editor/src/components/block-list/style.scss | 2 +- packages/block-editor/src/components/block-mover/style.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index ca821660c6edba..82d2eafc11121d 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -600,7 +600,7 @@ &:focus::before { left: 0 !important; min-width: 0; - width: calc(100% + #{ $border-width }); + width: 100%; } } } diff --git a/packages/block-editor/src/components/block-mover/style.scss b/packages/block-editor/src/components/block-mover/style.scss index 2635dfdc8f3748..65670ff655292e 100644 --- a/packages/block-editor/src/components/block-mover/style.scss +++ b/packages/block-editor/src/components/block-mover/style.scss @@ -47,7 +47,7 @@ // Focus style. &::before { bottom: 0; - height: 100%; + height: calc(100% - #{ $border-width }); } } @@ -60,7 +60,7 @@ // Focus style. &::before { top: 0; - height: 100%; + height: calc(100% - #{ $border-width }); } }