Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(react/settings): improve layout
Elian Dorand6032c912e88
diff --git a/apps/client/src/widgets/react/FormRadioGroup.tsx b/apps/client/src/widgets/react/FormRadioGroup.tsxindex faa5279e88..e2264bfe41 100644--- a/apps/client/src/widgets/react/FormRadioGroup.tsx+++ b/apps/client/src/widgets/react/FormRadioGroup.tsx@@ -15,7 +15,7 @@ export default function FormRadioGroup({ name, values, currentValue, onChange }:return (<>{(values || []).map(({ value, label }) => (- <div className="form-check">+ <div className="form-checkbox"><label className="form-check-label tn-radio"><inputclassName="form-check-input"diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsxindex f3f48827f6..60b65692d2 100644--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx@@ -13,17 +13,11 @@ export default function AppearanceSettings() {name="layout-orientation"values={[{- label: <>- <strong>{t("theme.layout-vertical-title")}</strong>- - {t("theme.layout-vertical-description")}- </>,+ label: <><strong>{t("theme.layout-vertical-title")}</strong> - {t("theme.layout-vertical-description")}</>,value: "vertical"},{- label: <>- <strong>{t("theme.layout-horizontal-title")}</strong>- - {t("theme.layout-horizontal-description")}- </>,+ label: <><strong>{t("theme.layout-horizontal-title")}</strong> - {t("theme.layout-horizontal-description")}</>,value: "horizontal"}]}