From 2a8083c30c1876b10cb232ea24b56ff7a8fc98fb Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 24 Feb 2017 16:38:38 +0100 Subject: [PATCH] Fix the block switcher position --- blocks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/blocks.js b/blocks.js index f0cbcca8e76c2..8c3650ec75735 100644 --- a/blocks.js +++ b/blocks.js @@ -337,6 +337,7 @@ function showControls( node ) { var position = node.getBoundingClientRect(); switcher.style.opacity = 1; switcher.style.top = ( position.top + 18 + window.scrollY ) + 'px'; + switcher.style.left = position.left - 10 + 'px'; // show/hide block-specific block controls dockedControls.className = 'docked-controls';