mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 02:59:03 +01:00
chore(react/dialogs): improve display of description
This commit is contained in:
parent
ce324586f8
commit
523c7ac273
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user