mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +02:00
chore(react/settings): improve layout
This commit is contained in:
parent
25527ecc21
commit
d6032c912e
@ -15,7 +15,7 @@ export default function FormRadioGroup({ name, values, currentValue, onChange }:
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{(values || []).map(({ value, label }) => (
|
{(values || []).map(({ value, label }) => (
|
||||||
<div className="form-check">
|
<div className="form-checkbox">
|
||||||
<label className="form-check-label tn-radio">
|
<label className="form-check-label tn-radio">
|
||||||
<input
|
<input
|
||||||
className="form-check-input"
|
className="form-check-input"
|
||||||
|
@ -13,17 +13,11 @@ export default function AppearanceSettings() {
|
|||||||
name="layout-orientation"
|
name="layout-orientation"
|
||||||
values={[
|
values={[
|
||||||
{
|
{
|
||||||
label: <>
|
label: <><strong>{t("theme.layout-vertical-title")}</strong> - {t("theme.layout-vertical-description")}</>,
|
||||||
<strong>{t("theme.layout-vertical-title")}</strong>
|
|
||||||
- {t("theme.layout-vertical-description")}
|
|
||||||
</>,
|
|
||||||
value: "vertical"
|
value: "vertical"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: <>
|
label: <><strong>{t("theme.layout-horizontal-title")}</strong> - {t("theme.layout-horizontal-description")}</>,
|
||||||
<strong>{t("theme.layout-horizontal-title")}</strong>
|
|
||||||
- {t("theme.layout-horizontal-description")}
|
|
||||||
</>,
|
|
||||||
value: "horizontal"
|
value: "horizontal"
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user