Fix spacing of custom checkbox value settings input
[MAILPOET-2463]
This commit is contained in:
committed by
Pavel Dohnal
parent
03135ffc28
commit
2a2d5da12f
@@ -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>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user