chore(react/dialogs): improve display of description

This commit is contained in:
Elian Doran 2025-08-05 22:11:16 +03:00
parent ce324586f8
commit 523c7ac273
No known key found for this signature in database

View File

@ -13,11 +13,10 @@ export default function FormGroup({ label, title, className, children, descripti
return ( return (
<div className={`form-group ${className}`} title={title}> <div className={`form-group ${className}`} title={title}>
<label style={{ width: "100%" }} ref={labelRef}> <label style={{ width: "100%" }} ref={labelRef}>
{label} {label} {children}
{children}
</label> </label>
{description && <small className="form-text text-muted">{description}</small>} {description && <small className="form-text">{description}</small>}
</div> </div>
); );
} }