web: fix loading overlay for site-shell

This commit is contained in:
Jens Langhammer 2020-12-30 23:12:13 +01:00
parent 6bfaf71c12
commit 0632d8ff37
2 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import "../elements/sidebar/SidebarHamburger";
export abstract class Interface extends LitElement { export abstract class Interface extends LitElement {
@property({type: Boolean}) @property({type: Boolean})
sidebarOpen: boolean = true; sidebarOpen = true;
abstract get sidebar(): SidebarItem[]; abstract get sidebar(): SidebarItem[];

View File

@ -30,6 +30,12 @@ export class SiteShell extends LitElement {
::slotted(*) { ::slotted(*) {
height: 100%; height: 100%;
} }
.pf-l-bullseye {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
`, `,
BackdropStyle, BackdropStyle,
BullseyeStyle, BullseyeStyle,