From 2ff52efeadfdbb44512aa1ae5e8f6d269af5c14c Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Thu, 27 Feb 2020 14:41:16 +0100 Subject: [PATCH] Remove specific float styles --- .../edit-post/src/components/visual-editor/style.scss | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/edit-post/src/components/visual-editor/style.scss b/packages/edit-post/src/components/visual-editor/style.scss index 77ec335ccdfbba..b29292d18308af 100644 --- a/packages/edit-post/src/components/visual-editor/style.scss +++ b/packages/edit-post/src/components/visual-editor/style.scss @@ -79,11 +79,3 @@ } } } - -.edit-post-visual-editor { - // If the first block is floated, it needs top margin, unlike the rule in line 69. - .block-editor-block-list__layout > .block-editor-block-list__block[data-align="left"]:first-child, - .block-editor-block-list__layout > .block-editor-block-list__block[data-align="right"]:first-child { - margin-top: $block-padding + $block-spacing + $border-width + $border-width + $block-padding; - } -}