From 1ee63dd217a18c3ba9ecdf70c710638a550b36e3 Mon Sep 17 00:00:00 2001 From: Peter Amende Date: Sun, 25 Jan 2026 17:24:36 +0100 Subject: [PATCH] change sponsor box to block layout --- _sass/_layout.scss | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 572cd99..956fcf0 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -451,24 +451,21 @@ body { .sponsor-box { position: relative; grid-column: span 6; - display: flex; - flex-direction: column; - gap: 2rem; + display: block; padding: 3rem; border-radius: 2rem; box-sizing: border-box; - min-height: 0; - min-width: 0; + overflow: hidden; @media only screen and (max-width: $screen-small) { grid-column: span 12; } .sponsor-box--label { + display: inline-block; position: relative; z-index: 20; - flex-grow: 0; - margin-right: auto; + margin-bottom: 2rem; padding: 0.4em 1.2em 0.4em 0.6em; border-radius: 4rem; font-size: 0.8em; @@ -491,6 +488,7 @@ body { } .sponsor-box--value { + margin: 0; *:first-child { margin-top: 0;