web/user: fix alignment between image icons and fallback text icons (#6416)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-07-28 22:58:16 +02:00
committed by GitHub
parent 3f02534eb1
commit 2340e925ee

View File

@ -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;