mirror of
				https://gitlab.nic.cz/turris/reforis/foris-js.git
				synced 2025-11-03 23:00:31 +01:00 
			
		
		
		
	Decrease Switch's margin-bottom with headings
This commit is contained in:
		@@ -23,7 +23,7 @@ Switch.propTypes = {
 | 
			
		||||
export function Switch({ label, helpText, switchHeading, ...props }) {
 | 
			
		||||
    const uid = useUID();
 | 
			
		||||
    return (
 | 
			
		||||
        <div className="form-group switch">
 | 
			
		||||
        <div className={`form-group ${switchHeading ? "switch" : ""}`}>
 | 
			
		||||
            <div
 | 
			
		||||
                className={`custom-control custom-switch ${
 | 
			
		||||
                    !helpText ? "custom-control-inline" : ""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user