From 9a79ffda55c3002b6db1c1a8cbf8199d12786666 Mon Sep 17 00:00:00 2001 From: iseulde Date: Mon, 25 Sep 2017 12:19:37 +0200 Subject: [PATCH] Allow toolbar wrapper to be clicked through --- editor/modes/visual-editor/style.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editor/modes/visual-editor/style.scss b/editor/modes/visual-editor/style.scss index dad1dd846f275..1f29f3cf0481c 100644 --- a/editor/modes/visual-editor/style.scss +++ b/editor/modes/visual-editor/style.scss @@ -323,6 +323,14 @@ margin-left: -$block-padding; margin-right: -$block-padding; + // Allow this invisible layer to be clicked through. + pointer-events: none; + + // Reset pointer-events on children. + & > * { + pointer-events: auto; + } + // Larger viewports @include break-small() { margin-left: 0;