From e5bbc51e0138dde527368d062b61ec9df7eb2273 Mon Sep 17 00:00:00 2001 From: itziarZG Date: Mon, 13 Jul 2026 10:04:30 +0200 Subject: [PATCH] fix(programa): responsive issues in view-mode toggle and grid view Two small responsive fixes for /programa: 1. Remove redundant view-mode label. The displaying 'Schedule view mode' was redundant with the radio button labels ('List' / 'Visual grid') and forced the fieldset to wrap to two rows in mobile (375px), making the toggle 86px tall. The accessible remains for screen readers. 2. Wrap in overflow-x-auto container. The Pretalx web component renders an internal layout of ~1690px that caused horizontal page scroll in tablet (768) and desktop (1280). The shadow DOM can't be styled from outside, so the wrapper provides internal scroll instead of forcing page-level scroll. Verified with Playwright at 375/768/1280: no horizontal overflow, toggle height 62px across all breakpoints, single-row layout in mobile. --- src/components/ProgramaPage.astro | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/components/ProgramaPage.astro b/src/components/ProgramaPage.astro index 3bffedc..1154f3b 100644 --- a/src/components/ProgramaPage.astro +++ b/src/components/ProgramaPage.astro @@ -24,12 +24,6 @@ const schedule = await getSchedule() class="schedule-view-toggle max-w-3xl mx-auto mb-8 border border-white/10 rounded-xl p-3 flex flex-wrap items-center gap-2 bg-pycon-black/40" > {t.list.viewModeLegend} -