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

View File

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