Show subject and preview inputs on full-width
[MAILPOET-3089]
This commit is contained in:
@@ -42,3 +42,7 @@ label[for] {
|
||||
.mailpoet-form-field + .mailpoet-form-field {
|
||||
margin-top: $grid-gap;
|
||||
}
|
||||
|
||||
.mailpoet-form-field-email-header {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
@@ -173,7 +173,7 @@ class FormField extends React.Component {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={`form-field-row-${this.props.field.name}`}>
|
||||
<div className={`mailpoet-form-field-${this.props.field.name} form-field-row-${this.props.field.name}`}>
|
||||
{ label }
|
||||
{ tip }
|
||||
{ field }
|
||||
|
@@ -48,7 +48,7 @@ const configureSendPageOptions = (defaultFields, newsletter) => {
|
||||
const emailOptions = newsletter.options;
|
||||
const fields = [
|
||||
{
|
||||
name: 'info',
|
||||
name: 'email-header',
|
||||
label: null,
|
||||
tip: null,
|
||||
fields: [
|
||||
@@ -65,7 +65,7 @@ const configureSendPageOptions = (defaultFields, newsletter) => {
|
||||
{
|
||||
name: 'preheader',
|
||||
placeholder: MailPoet.I18n.t('preheaderLine'),
|
||||
tip: MailPoet.I18n.t('preheaderLineTip1') + ' ' + MailPoet.I18n.t('preheaderLineTip2'),
|
||||
tip: `${MailPoet.I18n.t('preheaderLineTip1')} ${MailPoet.I18n.t('preheaderLineTip2')}`,
|
||||
type: 'text',
|
||||
validation: {
|
||||
'data-parsley-maxlength': 250,
|
||||
|
@@ -7,7 +7,7 @@ import GATrackingField from 'newsletters/send/ga_tracking.jsx';
|
||||
|
||||
let fields = [
|
||||
{
|
||||
name: 'info',
|
||||
name: 'email-header',
|
||||
label: null,
|
||||
tip: null,
|
||||
fields: [
|
||||
@@ -24,7 +24,7 @@ let fields = [
|
||||
{
|
||||
name: 'preheader',
|
||||
placeholder: MailPoet.I18n.t('preheaderLine'),
|
||||
tip: MailPoet.I18n.t('preheaderLineTip1') + ' ' + MailPoet.I18n.t('preheaderLineTip2'),
|
||||
tip: `${MailPoet.I18n.t('preheaderLineTip1')} ${MailPoet.I18n.t('preheaderLineTip2')}`,
|
||||
type: 'text',
|
||||
validation: {
|
||||
'data-parsley-maxlength': 250,
|
||||
|
@@ -113,7 +113,7 @@ StandardScheduling.defaultProps = {
|
||||
|
||||
let fields = [
|
||||
{
|
||||
name: 'info',
|
||||
name: 'email-header',
|
||||
label: null,
|
||||
tip: null,
|
||||
fields: [
|
||||
@@ -130,7 +130,7 @@ let fields = [
|
||||
{
|
||||
name: 'preheader',
|
||||
placeholder: MailPoet.I18n.t('preheaderLine'),
|
||||
tip: MailPoet.I18n.t('preheaderLineTip1') + ' ' + MailPoet.I18n.t('preheaderLineTip2'),
|
||||
tip: `${MailPoet.I18n.t('preheaderLineTip1')} ${MailPoet.I18n.t('preheaderLineTip2')}`,
|
||||
type: 'text',
|
||||
validation: {
|
||||
'data-parsley-maxlength': 250,
|
||||
|
@@ -6,7 +6,7 @@ import GATrackingField from 'newsletters/send/ga_tracking.jsx';
|
||||
|
||||
let fields = [
|
||||
{
|
||||
name: 'info',
|
||||
name: 'email-header',
|
||||
label: null,
|
||||
tip: null,
|
||||
fields: [
|
||||
@@ -23,7 +23,7 @@ let fields = [
|
||||
{
|
||||
name: 'preheader',
|
||||
placeholder: MailPoet.I18n.t('preheaderLine'),
|
||||
tip: MailPoet.I18n.t('preheaderLineTip1') + ' ' + MailPoet.I18n.t('preheaderLineTip2'),
|
||||
tip: `${MailPoet.I18n.t('preheaderLineTip1')} ${MailPoet.I18n.t('preheaderLineTip2')}`,
|
||||
type: 'text',
|
||||
validation: {
|
||||
'data-parsley-maxlength': 250,
|
||||
|
Reference in New Issue
Block a user