From b0a9b680e6d12c2b82d9cd4720c00501f3b78229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Tue, 19 May 2026 16:02:45 +0200 Subject: [PATCH] Add block-internal spacing rules for repeated vs mixed elements --- styleguide.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/styleguide.css b/styleguide.css index c84f691..50acf1c 100644 --- a/styleguide.css +++ b/styleguide.css @@ -1845,6 +1845,17 @@ section + section { margin-top: var(--spacing-large); } +.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-form-sections-card__chapter > :not(.sg-form-sections-card__chapter-title) + :not(.sg-form-sections-card__chapter-title) { + margin-top: var(--spacing-large); +} + +.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-form-sections-card__chapter > .sg-slider-row + .sg-slider-row, +.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-form-sections-card__chapter > .sg-checkbox-field-option + .sg-checkbox-field-option, +.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-form-sections-card__chapter > .sg-pulldown-panel__row + .sg-pulldown-panel__row, +.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-form-sections-card__chapter > .sg-radio-activatable-group + .sg-radio-activatable-group { + margin-top: var(--spacing-small); +} + .sg-form-sections-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));