mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Fix incorrect checkbox padding
This commit is contained in:
parent
9a0a0fe3b0
commit
a360fdda74
1 changed files with 9 additions and 11 deletions
|
|
@ -38,18 +38,16 @@ export const Checkbox = function Checkbox({
|
|||
|
||||
return (
|
||||
<div className="row" style={{ width, height, display:parsedWidgetVisibility ? '' : 'none' }} onClick={event => {event.stopPropagation(); onComponentClick(id, component)}}>
|
||||
<div className="col py-1">
|
||||
<label className="form-check form-check-inline">
|
||||
<input
|
||||
className="form-check-input"
|
||||
type="checkbox"
|
||||
onClick={(e) => {
|
||||
toggleValue(e);
|
||||
}}
|
||||
/>
|
||||
<span className="form-check-label" style={{color: textColor}}>{label}</span>
|
||||
<label className="my-auto mx-2 form-check form-check-inline">
|
||||
<input
|
||||
className="form-check-input"
|
||||
type="checkbox"
|
||||
onClick={(e) => {
|
||||
toggleValue(e);
|
||||
}}
|
||||
/>
|
||||
<span className="form-check-label" style={{color: textColor}}>{label}</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue