From 0632d8ff372d6a36aeef0ded90d773c77c7c0b81 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 30 Dec 2020 23:12:13 +0100 Subject: [PATCH] web: fix loading overlay for site-shell --- web/src/interfaces/Interface.ts | 2 +- web/src/pages/generic/SiteShell.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/interfaces/Interface.ts b/web/src/interfaces/Interface.ts index 3309e580e..aac203f8b 100644 --- a/web/src/interfaces/Interface.ts +++ b/web/src/interfaces/Interface.ts @@ -8,7 +8,7 @@ import "../elements/sidebar/SidebarHamburger"; export abstract class Interface extends LitElement { @property({type: Boolean}) - sidebarOpen: boolean = true; + sidebarOpen = true; abstract get sidebar(): SidebarItem[]; diff --git a/web/src/pages/generic/SiteShell.ts b/web/src/pages/generic/SiteShell.ts index 8c42d3a6e..cdf59c605 100644 --- a/web/src/pages/generic/SiteShell.ts +++ b/web/src/pages/generic/SiteShell.ts @@ -30,6 +30,12 @@ export class SiteShell extends LitElement { ::slotted(*) { height: 100%; } + .pf-l-bullseye { + position: absolute; + top: 0; + left: 0; + width: 100%; + } `, BackdropStyle, BullseyeStyle,