Removed hardcoded display: inline for BooleanControls

This commit is contained in:
Alejandro Celaya 2020-10-31 17:18:51 +01:00
parent 2e6a35181d
commit ff1fb0dd12
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@ const BooleanControl: FC<BooleanControlWithTypeProps> = (
};
return (
<span className={classNames('custom-control', typeClasses, className)} style={{ display: 'inline' }}>
<span className={classNames('custom-control', typeClasses, className)}>
<input type="checkbox" className="custom-control-input" id={id} checked={checked} onChange={onChecked} />
<label className="custom-control-label" htmlFor={id}>{children}</label>
</span>