make the settings be their own div for navagation
This commit is contained in:
parent
9fffb275d1
commit
a0bb467698
|
@ -19,7 +19,7 @@ export class GeneralSettings extends Component<DefaultPageProps> {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<>
|
<div>
|
||||||
<h4>{i18next.t("settings_general_title")}</h4>
|
<h4>{i18next.t("settings_general_title")}</h4>
|
||||||
|
|
||||||
<InputWithTitle title={i18next.t("settings_general_theme")}>
|
<InputWithTitle title={i18next.t("settings_general_theme")}>
|
||||||
|
@ -99,7 +99,7 @@ export class GeneralSettings extends Component<DefaultPageProps> {
|
||||||
})}
|
})}
|
||||||
</select>
|
</select>
|
||||||
</InputWithTitle>
|
</InputWithTitle>
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ export class KeyValueEditorSettings extends Component<DefaultPageProps> {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<>
|
<div>
|
||||||
<h4>{i18next.t("settings_kveditor_title")}</h4>
|
<h4>{i18next.t("settings_kveditor_title")}</h4>
|
||||||
|
|
||||||
<InputWithTitle title={i18next.t("settings_kveditor_default_language")}>
|
<InputWithTitle title={i18next.t("settings_kveditor_default_language")}>
|
||||||
|
@ -45,7 +45,7 @@ export class KeyValueEditorSettings extends Component<DefaultPageProps> {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</InputWithTitle>
|
</InputWithTitle>
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,12 +12,8 @@ export class Settings extends Component<DefaultPageProps> {
|
||||||
<>
|
<>
|
||||||
<PageTitle title={i18next.t("settings_title")} />
|
<PageTitle title={i18next.t("settings_title")} />
|
||||||
<Grid size={GridSizes.NORMAL}>
|
<Grid size={GridSizes.NORMAL}>
|
||||||
<div>
|
|
||||||
<GeneralSettings {...this.props} />
|
<GeneralSettings {...this.props} />
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<KeyValueEditorSettings {...this.props} />
|
<KeyValueEditorSettings {...this.props} />
|
||||||
</div>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue