chore(react/settings): improve layout

This commit is contained in:
Elian Doran 2025-08-14 17:54:52 +03:00
parent 25527ecc21
commit d6032c912e
No known key found for this signature in database
2 changed files with 3 additions and 9 deletions

View File

@ -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"

View File

@ -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"
} }
]} ]}