web/user: justify content on user settings page on desktop

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-08-27 20:51:18 +02:00
parent a0c546023f
commit 251ab71c3a
2 changed files with 15 additions and 6 deletions

View File

@ -4,7 +4,7 @@ import { EVENT_REFRESH } from "@goauthentik/web/constants";
import { t } from "@lingui/macro";
import { CSSResult, LitElement, TemplateResult, html } from "lit";
import { CSSResult, LitElement, TemplateResult, css, html } from "lit";
import { customElement, state } from "lit/decorators.js";
import { ifDefined } from "lit/directives/if-defined.js";
import { until } from "lit/directives/until.js";
@ -51,6 +51,15 @@ export class UserSettingsPage extends LitElement {
PFFormControl,
PFStack,
AKGlobal,
css`
@media screen and (min-width: 1200px) {
:host {
width: 90rem;
margin-left: auto;
margin-right: auto;
}
}
`,
];
}