From 434743c0d031ec5d6fd3f7f7a4dfcd3c477f9ccf Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 18 May 2022 15:02:10 +0200 Subject: [PATCH] fix(app-card): logo aspect ratio (#725) --- libs/web-components/app-card/src/styles.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/web-components/app-card/src/styles.scss b/libs/web-components/app-card/src/styles.scss index 3056923ce..faff57f77 100644 --- a/libs/web-components/app-card/src/styles.scss +++ b/libs/web-components/app-card/src/styles.scss @@ -111,7 +111,9 @@ $fds-blue: #009CBD; img { width: auto; - height: 70px; + height: auto; + max-width: 70px; + max-height: 70px; } .app-card-logo-fallback { @@ -202,7 +204,9 @@ $fds-blue: #009CBD; img { width: auto; - height: 42px; + height: auto; + max-width: 42px; + max-height: 42px; } }