mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-25 00:11:36 +01:00
Fix extra empty space in Switch's classes
This commit is contained in:
parent
1e04d34645
commit
e03e0f44cc
|
@ -23,7 +23,7 @@ Switch.propTypes = {
|
|||
export function Switch({ label, helpText, switchHeading, ...props }) {
|
||||
const uid = useUID();
|
||||
return (
|
||||
<div className={`form-group ${switchHeading ? "switch" : ""}`}>
|
||||
<div className={`form-group ${switchHeading ? "switch" : ""}`.trim()}>
|
||||
<div
|
||||
className={`custom-control custom-switch ${
|
||||
!helpText ? "custom-control-inline" : ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user