From 0dd73bedde2ea1d568363d0d04a5de9419cf27be Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 26 Mar 2025 14:00:40 +0100 Subject: [PATCH] fix card logo size on homepage --- hub/services/static/css/servala-main.css | 10 +++++++++- hub/services/templates/pages/homepage.html | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/hub/services/static/css/servala-main.css b/hub/services/static/css/servala-main.css index e5e2c66..9d99d26 100644 --- a/hub/services/static/css/servala-main.css +++ b/hub/services/static/css/servala-main.css @@ -12083,7 +12083,6 @@ a.btn:focus { } .card__image__wide { - width: 150px; height: 80px; margin-bottom: 16px } @@ -12109,6 +12108,15 @@ a.btn:focus { margin-bottom: 0 } +.card-logo { + max-height: 80px; + max-width: 100%; + width: auto; + object-fit: contain; + display: block; + margin: 0 auto; +} + @media (min-width: 992px) { .section-hero__header { width: 56% diff --git a/hub/services/templates/pages/homepage.html b/hub/services/templates/pages/homepage.html index ac0f25c..96f96e8 100644 --- a/hub/services/templates/pages/homepage.html +++ b/hub/services/templates/pages/homepage.html @@ -43,7 +43,7 @@
- {{ service.name }} logo +

{{ service.name }}

@@ -91,7 +91,7 @@
- {{ provider.name }} logo +

{{ provider.name }}

@@ -136,7 +136,7 @@