From d4eb752127a4192a7f1b053b200afe0a4ce2576c Mon Sep 17 00:00:00 2001 From: Paul Bunkham Date: Thu, 27 Feb 2020 16:55:48 +0000 Subject: [PATCH] [not verified] Fix the overlay when the block is left or right aligned (#14820) In WordPress/Gutenberg#19593 a wrapper `div` was removed, which had a `position` value of `relative`. Our overlay `div` to prevent the iframe from being interacted with, relies on a parent element being `positino: relative`. This is still the case when the block is in the main flow/centre aligned, but when the block is left or right aligned, it can't be selected, and clicks are handled by the iframe. --- extensions/blocks/calendly/editor.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/blocks/calendly/editor.scss b/extensions/blocks/calendly/editor.scss index d37f17104b4b0..4ee2ed70f458c 100644 --- a/extensions/blocks/calendly/editor.scss +++ b/extensions/blocks/calendly/editor.scss @@ -3,6 +3,8 @@ */ .wp-block-jetpack-calendly { + position: relative; + &-overlay { position: absolute; width: 100%;