1
0
Fork 0

make the settings be their own div for navagation

This commit is contained in:
ChaotiCryptidz 2022-01-19 14:16:07 +00:00
parent 9fffb275d1
commit a0bb467698
3 changed files with 4 additions and 8 deletions

View file

@ -19,7 +19,7 @@ export class GeneralSettings extends Component<DefaultPageProps> {
render() {
return (
<>
<div>
<h4>{i18next.t("settings_general_title")}</h4>
<InputWithTitle title={i18next.t("settings_general_theme")}>
@ -99,7 +99,7 @@ export class GeneralSettings extends Component<DefaultPageProps> {
})}
</select>
</InputWithTitle>
</>
</div>
);
}
}

View file

@ -10,7 +10,7 @@ export class KeyValueEditorSettings extends Component<DefaultPageProps> {
render() {
return (
<>
<div>
<h4>{i18next.t("settings_kveditor_title")}</h4>
<InputWithTitle title={i18next.t("settings_kveditor_default_language")}>
@ -45,7 +45,7 @@ export class KeyValueEditorSettings extends Component<DefaultPageProps> {
}}
/>
</InputWithTitle>
</>
</div>
);
}
}

View file

@ -12,12 +12,8 @@ export class Settings extends Component<DefaultPageProps> {
<>
<PageTitle title={i18next.t("settings_title")} />
<Grid size={GridSizes.NORMAL}>
<div>
<GeneralSettings {...this.props} />
</div>
<div>
<KeyValueEditorSettings {...this.props} />
</div>
</Grid>
</>
);