diff --git a/blocks.js b/blocks.js index f0cbcca8e76c25..e7fe7a19f77889 100644 --- a/blocks.js +++ b/blocks.js @@ -358,13 +358,15 @@ function updateDockedControlsPosition( newClassName ) { var fullBleed = className.match( /full-bleed/ ); var topPosition = position.top - 36 + window.scrollY; - var leftPosition = position.left; + var leftPosition = null; if ( isImage && alignedRight ) { + leftPosition = position.left; topPosition = newClassName ? topPosition - 15 : topPosition; } else if ( isImage && alignedLeft && newClassName ) { topPosition = topPosition - 15; } else if ( isImage && className === 'is-selected' && dockedControls.style.left ) { + leftPosition = null; topPosition = topPosition + 15; } else if ( fullBleed ) { leftPosition = ( window.innerWidth / 2 ) - ( dockedControls.clientWidth / 2 ); diff --git a/index.html b/index.html index 9b6badd8f81cf6..b7a85eaaba2dfd 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,7 @@ Editor Blocks - - + @@ -71,12 +70,12 @@ -
-

1.0 Is The Loneliest Number

+
+

1.0 Is The Loneliest Number

Many entrepreneurs idolize Steve Jobs. He’s such a  perfectionist , they say. Nothing leaves the doors of 1 Infinite Loop in Cupertino without a polish and finish that makes geeks everywhere drool. No compromise!

I like Apple for the opposite reason: they’re not afraid of getting a rudimentary 1.0 out into the world.

-
+