From 178e8e7e43762ded01e4ab85a67ffaa2134edee8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 13 Oct 2021 11:23:26 +0200 Subject: [PATCH] web/user: initial optimisation for smaller screens see #1610 Signed-off-by: Jens Langhammer --- web/src/interfaces/UserInterface.ts | 28 ++++++++++++++++------------ web/src/user/LibraryPage.ts | 4 +++- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/web/src/interfaces/UserInterface.ts b/web/src/interfaces/UserInterface.ts index df8282d21..c3308825d 100644 --- a/web/src/interfaces/UserInterface.ts +++ b/web/src/interfaces/UserInterface.ts @@ -13,6 +13,7 @@ import PFDropdown from "@patternfly/patternfly/components/Dropdown/dropdown.css" import PFNotificationBadge from "@patternfly/patternfly/components/NotificationBadge/notification-badge.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; +import PFDisplay from "@patternfly/patternfly/utilities/Display/display.css"; import { CurrentTenant, EventsApi } from "@goauthentik/api"; @@ -56,6 +57,7 @@ export class UserInterface extends LitElement { static get styles(): CSSResult[] { return [ PFBase, + PFDisplay, PFBrand, PFPage, PFAvatar, @@ -155,7 +157,9 @@ export class UserInterface extends LitElement { ` : html``} ${config.enabledFeatures.notificationDrawer - ? html` + ? html`
- ` +
` : html``} ${config.enabledFeatures.settings - ? html`