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');