mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +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 (
|
||||
<>
|
||||
{(values || []).map(({ value, label }) => (
|
||||
<div className="form-check">
|
||||
<div className="form-checkbox">
|
||||
<label className="form-check-label tn-radio">
|
||||
<input
|
||||
className="form-check-input"
|
||||
|
@ -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"
|
||||
}
|
||||
]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user