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() {
|
||||
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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue