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:
parent
3f02534eb1
commit
2340e925ee
|
@ -24,6 +24,9 @@ export class AppIcon extends AKElement {
|
||||||
PFFAIcons,
|
PFFAIcons,
|
||||||
PFAvatar,
|
PFAvatar,
|
||||||
css`
|
css`
|
||||||
|
:host {
|
||||||
|
max-height: calc(var(--icon-height) + var(--icon-border) + var(--icon-border));
|
||||||
|
}
|
||||||
:host([size="pf-m-lg"]) {
|
:host([size="pf-m-lg"]) {
|
||||||
--icon-height: 4rem;
|
--icon-height: 4rem;
|
||||||
--icon-border: 0.25rem;
|
--icon-border: 0.25rem;
|
||||||
|
|
Reference in New Issue