diff --git a/authentik/api/pagination_schema.py b/authentik/api/pagination_schema.py index a7571d41e3..9490b8463e 100644 --- a/authentik/api/pagination_schema.py +++ b/authentik/api/pagination_schema.py @@ -61,7 +61,8 @@ class PaginationInspector(PaginatorInspector): """ Get the pagination parameters for a single paginator **instance**. - Should return :data:`.NotHandled` if this inspector does not know how to handle the given `paginator`. + Should return :data:`.NotHandled` if this inspector + does not know how to handle the given `paginator`. :param BasePagination paginator: the paginator :rtype: list[openapi.Parameter] diff --git a/authentik/core/templates/user/settings.html b/authentik/core/templates/user/settings.html index 50f70d560f..ff803e4be1 100644 --- a/authentik/core/templates/user/settings.html +++ b/authentik/core/templates/user/settings.html @@ -13,7 +13,7 @@

{% trans "Configure settings relevant to your user profile." %}

- +
diff --git a/web/src/elements/Tabs.ts b/web/src/elements/Tabs.ts index 1144e793ca..814106eb41 100644 --- a/web/src/elements/Tabs.ts +++ b/web/src/elements/Tabs.ts @@ -12,10 +12,17 @@ export class Tabs extends LitElement { @property() currentPage?: string; + @property({type: Boolean}) + vertical = false; + static get styles(): CSSResult[] { return [GlobalsStyle, TabsStyle, css` ::slotted(*) { height: 100%; + flex-grow: 2; + } + :host([vertical]) { + display: flex; } `]; } @@ -39,7 +46,7 @@ export class Tabs extends LitElement { } this.currentPage = pages[0].attributes.getNamedItem("slot")?.value; } - return html`
+ return html`
    ${pages.map((page) => this.renderTab(page))}