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

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-18 14:31+0000\n"
"POT-Creation-Date: 2022-08-27 18:46+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -43,12 +43,12 @@ msgstr ""
msgid "Blueprint Instances"
msgstr ""
#: authentik/blueprints/v1/exporter.py:50
#: authentik/blueprints/v1/exporter.py:53
#, python-format
msgid "authentik Export - %(date)s"
msgstr ""
#: authentik/blueprints/v1/tasks.py:103 authentik/crypto/tasks.py:93
#: authentik/blueprints/v1/tasks.py:104 authentik/crypto/tasks.py:93
#, python-format
msgid "Successfully imported %(count)d files."
msgstr ""
@ -353,7 +353,7 @@ msgstr ""
msgid "Notification Webhook Mappings"
msgstr ""
#: authentik/events/monitored_tasks.py:191
#: authentik/events/monitored_tasks.py:195
msgid "Task has not been run yet."
msgstr ""
@ -1234,7 +1234,7 @@ msgstr ""
msgid "User OAuth Source Connections"
msgstr ""
#: authentik/sources/oauth/views/callback.py:99
#: authentik/sources/oauth/views/callback.py:100
msgid "Authentication Failed."
msgstr ""

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;
}
}
`,
];
}