Fix the UI
[MAILPOET-3763]
This commit is contained in:
@@ -3,6 +3,7 @@ import MailPoet from 'mailpoet';
|
|||||||
import Heading from 'common/typography/heading/heading';
|
import Heading from 'common/typography/heading/heading';
|
||||||
import Input from 'common/form/input/input';
|
import Input from 'common/form/input/input';
|
||||||
import Select from 'common/form/select/select';
|
import Select from 'common/form/select/select';
|
||||||
|
import { Grid } from 'common/grid';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
afterTimeNumber: string;
|
afterTimeNumber: string;
|
||||||
@@ -20,7 +21,7 @@ export function Scheduling({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Heading level={4}>{MailPoet.I18n.t('selectEventToSendReEngagementEmail')}</Heading>
|
<Heading level={4}>{MailPoet.I18n.t('selectEventToSendReEngagementEmail')}</Heading>
|
||||||
<div className="mailpoet-grid-column mailpoet-flex mailpoet-re-engagement-scheduling">
|
<Grid.CenteredRow className="mailpoet-re-engagement-scheduling">
|
||||||
<p>
|
<p>
|
||||||
{MailPoet.I18n.t('reEngagementTextPre')}
|
{MailPoet.I18n.t('reEngagementTextPre')}
|
||||||
</p>
|
</p>
|
||||||
@@ -28,17 +29,14 @@ export function Scheduling({
|
|||||||
type="text"
|
type="text"
|
||||||
placeholder={MailPoet.I18n.t('reEngagementAterTimeNumberPlaceholder')}
|
placeholder={MailPoet.I18n.t('reEngagementAterTimeNumberPlaceholder')}
|
||||||
value={afterTimeNumber}
|
value={afterTimeNumber}
|
||||||
dimension="small"
|
|
||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
isMinWidth
|
|
||||||
value={afterTimeType}
|
value={afterTimeType}
|
||||||
dimension="small"
|
|
||||||
>
|
>
|
||||||
<option value="weeks">weeks</option>
|
<option value="weeks">weeks</option>
|
||||||
<option value="months">months</option>
|
<option value="months">months</option>
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</Grid.CenteredRow>
|
||||||
{
|
{
|
||||||
(inactiveSubscribersPeriod <= daysSelected) && (
|
(inactiveSubscribersPeriod <= daysSelected) && (
|
||||||
<div>note</div>
|
<div>note</div>
|
||||||
|
Reference in New Issue
Block a user