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 (
<>
{(values || []).map(({ value, label }) => (
<div className="form-check">
<div className="form-checkbox">
<label className="form-check-label tn-radio">
<input
className="form-check-input"

View File

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