From acc584d6e754c4ae45fc22b9180e12f285c9e0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Mon, 1 Jun 2026 17:17:16 +0200 Subject: [PATCH] Limit notification width equalization to two-column rows --- patterns/vsf-meldungen.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patterns/vsf-meldungen.html b/patterns/vsf-meldungen.html index a9ec8aa..457e553 100644 --- a/patterns/vsf-meldungen.html +++ b/patterns/vsf-meldungen.html @@ -502,6 +502,12 @@ return; } + // Enforce equalized multi-row widths only for 2-column rows. + // For 3+ columns, keep native min/max card behavior. + if (firstRowCards.length !== 2) { + return; + } + const referenceWidth = referenceCard.getBoundingClientRect().width; grid.style.setProperty('--layout-object-card-shared-width', `${referenceWidth}px`); grid.classList.add('sg-notifications-pattern--multi-row');