Fix nested blocks top margins in form editor

[MAILPOET-2928]
This commit is contained in:
Rostislav Wolny
2020-05-18 20:48:54 +02:00
committed by Veljko V
parent 032f15f2d0
commit c4b19f342a
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ h2 {
} }
// Fix for form padding rendering // Fix for form padding rendering
.block-editor-block-list__layout .block-editor-block-list__block:first-child { .mailpoet-form-background > div > .block-editor-block-list__layout > .block-editor-block-list__block:first-child {
margin-top: 0; margin-top: 0;
} }

View File

@ -47,6 +47,7 @@ const FormStylingBackground = ({ children }) => {
} }
return ( return (
<div <div
className="mailpoet-form-background"
style={{ style={{
backgroundColor, backgroundColor,
color: fontColor, color: fontColor,