web: fix library not being full height, again

This commit is contained in:
Jens Langhammer 2021-02-24 09:21:16 +01:00
parent d06a44378d
commit e74c098b7a

View file

@ -14,10 +14,6 @@ export class LibraryApplication extends LitElement {
static get styles(): CSSResult[] { static get styles(): CSSResult[] {
return COMMON_STYLES.concat( return COMMON_STYLES.concat(
css` css`
:host,
main {
height: 100%;
}
a { a {
height: 100%; height: 100%;
} }
@ -59,7 +55,12 @@ export class LibraryPage extends LitElement {
apps?: AKResponse<Application>; apps?: AKResponse<Application>;
static get styles(): CSSResult[] { static get styles(): CSSResult[] {
return COMMON_STYLES; return COMMON_STYLES.concat(css`
:host,
main {
height: 100%;
}
`);
} }
firstUpdated(): void { firstUpdated(): void {