From 12c1abd615f272c8788d4ae79a4402bd98baf041 Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Fri, 19 Jun 2026 11:53:04 +0200 Subject: [PATCH] Fix logos in WAYF not scaling properly (closes: #2028) --- theme/base/stylesheets/pages/wayf/idpList.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/theme/base/stylesheets/pages/wayf/idpList.scss b/theme/base/stylesheets/pages/wayf/idpList.scss index bc39dcf936..52628d08e0 100644 --- a/theme/base/stylesheets/pages/wayf/idpList.scss +++ b/theme/base/stylesheets/pages/wayf/idpList.scss @@ -44,10 +44,10 @@ > .idp__logo { align-self: center; display: flex; - height: 5.05rem; - width: 5.67rem; + height: 5.15rem; + width: 5.15rem; justify-self: center; - padding: .5rem; + padding: .3rem; @include breakpoints.screen('mobile') { margin: 0; @@ -60,6 +60,7 @@ margin: auto 0; max-height: 100%; width: 100%; + object-fit: contain; } }