From 278670527f1bf6114a2514aba1325780f89b6860 Mon Sep 17 00:00:00 2001 From: jackahl Date: Thu, 28 Dec 2023 14:37:16 +0100 Subject: [PATCH] unify sizes of all Logos, disregarding number of columns --- src/theme/main.less | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/theme/main.less b/src/theme/main.less index f64c108..5c3fe38 100644 --- a/src/theme/main.less +++ b/src/theme/main.less @@ -92,7 +92,6 @@ .three.column.grid { .logo-image { max-width: 200px; - height: 200px; } h3 { @@ -100,9 +99,19 @@ } } - .two.column.grid { + .logo-block { + display: flex; + flex-direction: column; + align-items: center; + .logo-image { - height: 300px; + width: 100%; + max-height: 100px; + object-position: top center; + } + + h3 { + max-width: 400px; } } } @@ -114,6 +123,7 @@ .logo-image { width: 100%; + max-height: 100px; object-position: top center; }