Skip to content

fix(programa): responsive issues in view-mode toggle and grid view#222

Merged
itziarZG merged 1 commit into
mainfrom
fix/programa-flash-responsive
Jul 13, 2026
Merged

fix(programa): responsive issues in view-mode toggle and grid view#222
itziarZG merged 1 commit into
mainfrom
fix/programa-flash-responsive

Conversation

@itziarZG

Copy link
Copy Markdown
Collaborator

Summary

Two small responsive fixes for /programa.

1. Remove redundant view-mode label

The <span> displaying "Schedule view mode" was redundant with the radio labels ("List" / "Visual grid") and forced the fieldset to wrap to two rows on mobile (375px), making the toggle 86px tall. The accessible <legend> remains for screen readers.

2. Wrap <pretalx-schedule> in overflow 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 a max-w-full overflow-x-auto wrapper provides internal scroll instead of forcing page-level scroll.

Verification

Playwright at 375 / 768 / 1280:

  • No horizontal overflow on list or grid view
  • Toggle height 62px across all breakpoints, single-row layout on mobile

Files changed

  • src/components/ProgramaPage.astro (+8 / -12)

Two small responsive fixes for /programa:

1. Remove redundant view-mode label. The <span> 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
   <legend> remains for screen readers.

2. Wrap <pretalx-schedule> 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.
@itziarZG itziarZG merged commit 4765ddf into main Jul 13, 2026
1 check passed
@itziarZG itziarZG deleted the fix/programa-flash-responsive branch July 13, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants