Skip to content

Build your personal knowledge base with Trilium Notes

chore(react/dialogs): improve display of description

Elian Doran523c7ac273fd
diff --git a/apps/client/src/widgets/react/FormGroup.tsx b/apps/client/src/widgets/react/FormGroup.tsx
index 141ba89e31..49084cd0f2 100644
--- a/apps/client/src/widgets/react/FormGroup.tsx
+++ b/apps/client/src/widgets/react/FormGroup.tsx
@@ -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>
);
}
\ No newline at end of file