From a194db11ae6ed001231b22df2d10a2ef2bb546bd Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Sat, 19 May 2018 12:03:52 +0100 Subject: [PATCH] Allow clicking the block's input fields --- editor/components/block-list/style.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/editor/components/block-list/style.scss b/editor/components/block-list/style.scss index abd7532a32fef..d1696ef9b0b27 100644 --- a/editor/components/block-list/style.scss +++ b/editor/components/block-list/style.scss @@ -189,7 +189,7 @@ left: 0; // use opacity to work in various editor styles - border-left: 1px solid $dark-opacity-light-500; + border-left: 1px solid $dark-opacity-light-500; .is-dark-theme & { border-left-color: $light-opacity-light-500; @@ -223,6 +223,7 @@ bottom: -$block-padding; left: -$block-padding; outline: 1px solid transparent; + pointer-events: none; } } @@ -231,7 +232,7 @@ &.is-selected > .editor-block-list__block-edit:before { // use opacity to work in various editor styles outline: 1px solid $dark-opacity-light-500; - + .is-dark-theme & { outline-color: $light-opacity-light-500; } @@ -259,7 +260,7 @@ // use opacity to work in various editor styles mix-blend-mode: multiply; - + .is-dark-theme & { mix-blend-mode: soft-light; } @@ -697,10 +698,10 @@ // use opacity to work in various editor styles background-clip: padding-box; box-sizing: padding-box; - border: 1px solid $dark-opacity-light-500; + border: 1px solid $dark-opacity-light-500; .is-dark-theme & { - border-color: $light-opacity-light-500; + border-color: $light-opacity-light-500; } // this prevents floats from messing up the position