From f06aacd7aec2302cbc956a65d9c2fb6f3e15747a Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 13 Jul 2026 09:02:07 +0200 Subject: [PATCH] Fix for posters style and mobile schedule padding --- src/components/schedule/day.astro | 22 ++++++++++++++++++++++ src/styles/ep2026-theme.css | 6 ++++++ 2 files changed, 28 insertions(+) diff --git a/src/components/schedule/day.astro b/src/components/schedule/day.astro index ee90e2205..fcecc7a2d 100644 --- a/src/components/schedule/day.astro +++ b/src/components/schedule/day.astro @@ -731,6 +731,28 @@ const endStart = numberToTime(lastEndTime); .room-info { text-align: center; } + + /* Override inline grid on mobile — fits viewport */ + .lunch-break .lunch-break-content { + display: block !important; + grid-template-columns: none !important; + width: 100%; + } + + .lunch-break .posters-inside { + grid-column: auto !important; + justify-self: auto !important; + width: 100%; + } + + .lunch-break .poster-cards { + flex-direction: column; + } + + .lunch-break .poster-cards :global(*) { + flex: none; + max-width: 100%; + } } @media screen and (min-width: 800px) { diff --git a/src/styles/ep2026-theme.css b/src/styles/ep2026-theme.css index 6f86ca782..38c881b51 100644 --- a/src/styles/ep2026-theme.css +++ b/src/styles/ep2026-theme.css @@ -121,6 +121,12 @@ body.ep2026-theme { padding: 2rem 1.5rem; } +@media (max-width: 799px) { + .ep-sched-inner { + padding: 0; + } +} + /* Day title */ .ep-sched-day-title { font-family: "Inter Tight", system-ui, sans-serif;