Fix spacing of custom checkbox value settings input

[MAILPOET-2463]
This commit is contained in:
Rostislav Wolny
2020-01-16 14:10:54 +01:00
committed by Pavel Dohnal
parent 03135ffc28
commit 2a2d5da12f

View File

@@ -1,5 +1,6 @@
import React, { useEffect, useMemo, useState } from 'react';
import {
BaseControl,
Button,
ToggleControl,
} from '@wordpress/components';
@@ -65,7 +66,7 @@ const CustomFieldSettings = ({
checked={localMandatory}
onChange={setLocalMandatory}
/>
<div>
<BaseControl>
<input
type="checkbox"
checked={localIsChecked}
@@ -76,7 +77,7 @@ const CustomFieldSettings = ({
type="text"
onChange={(event) => setLocalCheckboxLabel(event.target.value)}
/>
</div>
</BaseControl>
</div>
);
};