web: fix mis-matched height of application cards

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-16 11:33:12 +02:00
parent f93e2c5eb6
commit a6b1ee949d
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export class LibraryApplication extends LitElement {
PFAvatar, PFAvatar,
AKGlobal, AKGlobal,
css` css`
a { .pf-c-card {
height: 100%; height: 100%;
} }
i.pf-icon { i.pf-icon {
@ -70,7 +70,7 @@ export class LibraryApplication extends LitElement {
if (!this.application) { if (!this.application) {
return html`<ak-spinner></ak-spinner>`; return html`<ak-spinner></ak-spinner>`;
} }
return html` <div class="pf-c-card pf-m-hoverable pf-m-compact ak-lib-card"> return html` <div class="pf-c-card pf-m-hoverable pf-m-compact">
<div class="pf-c-card__header"> <div class="pf-c-card__header">
${this.application.metaIcon ${this.application.metaIcon
? html`<a href="${ifDefined(this.application.launchUrl ?? "")}" ? html`<a href="${ifDefined(this.application.launchUrl ?? "")}"