Skip to content

Commit

Permalink
[not verified] Fix the overlay when the block is left or right aligned (
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
pablinos authored and mdbitz committed Feb 27, 2020
1 parent 372e6a8 commit d4eb752
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/blocks/calendly/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

.wp-block-jetpack-calendly {
position: relative;

&-overlay {
position: absolute;
width: 100%;
Expand Down

0 comments on commit d4eb752

Please sign in to comment.