Fix nested blocks top margins in form editor
[MAILPOET-2928]
This commit is contained in:
committed by
Veljko V
parent
032f15f2d0
commit
c4b19f342a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ const FormStylingBackground = ({ children }) => {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
className="mailpoet-form-background"
|
||||||
style={{
|
style={{
|
||||||
backgroundColor,
|
backgroundColor,
|
||||||
color: fontColor,
|
color: fontColor,
|
||||||
|
Reference in New Issue
Block a user