From 4fed2c0d1d2ff4e00d992d0eacd76ea39d090dc9 Mon Sep 17 00:00:00 2001 From: Samira <13108552+koninginsamira@users.noreply.github.com> Date: Fri, 24 Apr 2026 14:42:27 +0200 Subject: [PATCH] Improved and fixed css selectors for lists --- andromeda.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/andromeda.css b/andromeda.css index 9eec67f..f16556f 100644 --- a/andromeda.css +++ b/andromeda.css @@ -235,18 +235,22 @@ width: unset !important; } -/* Seasons */ +/* List of seasons */ +/* Replace margin with gap */ .layout-desktop .itemsContainer { gap: 1.2em; } -.layout-desktop .itemsContainer:not(.scrollSlider) { - padding: unset !important; - justify-content: center; -} .layout-desktop .itemsContainer > .card > .cardBox { margin-right: unset !important; } +.layout-desktop .itemsContainer.padded-right:not(.padded-left) { + padding: unset !important; /* Remove right padding if left padding is not present */ +} +.layout-desktop .itemsContainer.vertical-wrap { + justify-content: center; /* Only center if wrapping is enabled */ +} + @media (min-width: 87.5em) { .overflowPortraitCard, .overflowSquareCard { width: 12.5vw !important;