move settings into a grid
This commit is contained in:
parent
2a3edaf18a
commit
9fffb275d1
|
@ -1,6 +1,7 @@
|
|||
import { Component } from "preact";
|
||||
import { DefaultPageProps } from "../../../types/DefaultPageProps";
|
||||
import { GeneralSettings } from "./GeneralSettings";
|
||||
import { Grid, GridSizes } from "../../elements/Grid";
|
||||
import { KeyValueEditorSettings } from "./KeyValueEditorSettings";
|
||||
import { PageTitle } from "../../elements/PageTitle";
|
||||
import i18next from "i18next";
|
||||
|
@ -10,12 +11,14 @@ export class Settings extends Component<DefaultPageProps> {
|
|||
return (
|
||||
<>
|
||||
<PageTitle title={i18next.t("settings_title")} />
|
||||
<div>
|
||||
<GeneralSettings {...this.props} />
|
||||
</div>
|
||||
<div>
|
||||
<KeyValueEditorSettings {...this.props} />
|
||||
</div>
|
||||
<Grid size={GridSizes.NORMAL}>
|
||||
<div>
|
||||
<GeneralSettings {...this.props} />
|
||||
</div>
|
||||
<div>
|
||||
<KeyValueEditorSettings {...this.props} />
|
||||
</div>
|
||||
</Grid>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue