Fix scrolling issues for widget preview
[MAILPOET-2743]
This commit is contained in:
committed by
Veljko V
parent
511364413a
commit
10dca6c1c5
@@ -189,6 +189,7 @@ $form-columns-space-between: 20px;
|
|||||||
.widget-area {
|
.widget-area {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
float: none !important;
|
float: none !important;
|
||||||
|
margin: auto;
|
||||||
position: static !important;
|
position: static !important;
|
||||||
width: 340px;
|
width: 340px;
|
||||||
}
|
}
|
||||||
|
@@ -150,6 +150,7 @@ const FormPreview = () => {
|
|||||||
title={MailPoet.I18n.t('formPreview')}
|
title={MailPoet.I18n.t('formPreview')}
|
||||||
onLoad={() => setIframeLoaded(true)}
|
onLoad={() => setIframeLoaded(true)}
|
||||||
data-automation-id="form_preview_iframe"
|
data-automation-id="form_preview_iframe"
|
||||||
|
scrolling={formType === 'sidebar' ? 'no' : 'yes'}
|
||||||
/>
|
/>
|
||||||
{formType === 'sidebar' && previewType === 'desktop' && (
|
{formType === 'sidebar' && previewType === 'desktop' && (
|
||||||
<div className="mailpoet_form_preview_disclaimer">
|
<div className="mailpoet_form_preview_disclaimer">
|
||||||
|
Reference in New Issue
Block a user