Skip to content

Build your personal knowledge base with Trilium Notes

chore(react/settings): improve layout

Elian Dorand6032c912e88
diff --git a/apps/client/src/widgets/react/FormRadioGroup.tsx b/apps/client/src/widgets/react/FormRadioGroup.tsx
index 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">
<input
className="form-check-input"
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index 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"
}
]}