mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
chore(react/dialogs): improve display of description
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user