From 2340e925ee88954835c00de43f05637f960e3c6f Mon Sep 17 00:00:00 2001 From: Jens L Date: Fri, 28 Jul 2023 22:58:16 +0200 Subject: [PATCH] web/user: fix alignment between image icons and fallback text icons (#6416) Signed-off-by: Jens Langhammer --- web/src/user/LibraryApplication/AppIcon.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/user/LibraryApplication/AppIcon.ts b/web/src/user/LibraryApplication/AppIcon.ts index 3280b7e9a..fdefcf65a 100644 --- a/web/src/user/LibraryApplication/AppIcon.ts +++ b/web/src/user/LibraryApplication/AppIcon.ts @@ -24,6 +24,9 @@ export class AppIcon extends AKElement { PFFAIcons, PFAvatar, css` + :host { + max-height: calc(var(--icon-height) + var(--icon-border) + var(--icon-border)); + } :host([size="pf-m-lg"]) { --icon-height: 4rem; --icon-border: 0.25rem;