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

View File

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