Skip to content

Show posters when printing the schedule#1783

Open
nikoshell wants to merge 1 commit into
ep2026from
ep2026-fix-printable
Open

Show posters when printing the schedule#1783
nikoshell wants to merge 1 commit into
ep2026from
ep2026-fix-printable

Conversation

@nikoshell

Copy link
Copy Markdown
Contributor

Poster sessions were hidden when printing because .lunch-break-content { display: none !important; } in the @media print block suppressed the entire lunch content area.

Changes

In ScheduleLayout.astro / @media print:

  • Remove display: none from .lunch-break-content
  • Add compact print styles for poster cards inside the lunch slot:
    • Poster cards use the existing .ep-session.poster component at 7pt
    • Side events (PyLadies Lunch, Communities Lunch) rendered as a compact list
    • All headed by the "13:00 Lunch" bar with a visible border separator
  • Poster badge (which says "Poster" on the card) stays hidden in print (already gated by @media (min-width: 800px) which matches A4 landscape)

Before / After

Element Before (print) After (print)
Lunch header "13:00 Lunch" "13:00 Lunch"
Poster cards ❌ Hidden ✅ Compact cards with title + speakers
Side event links ❌ Hidden ✅ Compact list
Session grid ✅ Works ✅ Works

@europython-society

europython-society commented Jul 11, 2026

Copy link
Copy Markdown
Member

Preview available

Key Value
url https://ep2026-fix-printable.ep-preview.click
last update 2026-07-14T13:36:24.590Z

@hugovk

hugovk commented Jul 11, 2026

Copy link
Copy Markdown
Member

Thanks for picking this up! I also pushed this branch earlier, but didn't get time to open a PR yet: https://github.com/EuroPython/website/tree/printable-lunch-posters

@nikoshell nikoshell requested a review from gbdlin July 13, 2026 07:22
@hypha

hypha commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

@nikoshell I am here to approve 18bf0a6 but it's in a big part of a big PR that I'm not qualified to approve 😅

@nikoshell

Copy link
Copy Markdown
Contributor Author

@nikoshell I am here to approve 18bf0a6 but it's in a big part of a big PR that I'm not qualified to approve 😅

It's not just removing it from here.

here is PR #1786

Poster sessions were hidden when printing because
.lunch-break-content { display: none !important; }
in the @media print block suppressed the entire lunch content area.

Changes in ScheduleLayout.astro / @media print:
- Expanded break-inside: avoid to .time, .lunch-break, .posters-inside,
  .sched-lunch-events so rows and lunch content stay together
- Added compact print styles for poster cards inside the lunch slot
- Poster cards use existing .ep-session.poster component at 7pt
- Side events (PyLadies Lunch, Communities Lunch) as compact list
- All headed by '13:00 Lunch' bar with visible border separator
@nikoshell nikoshell force-pushed the ep2026-fix-printable branch from 89811f4 to 9e41e68 Compare July 14, 2026 13:31
@nikoshell nikoshell self-assigned this Jul 14, 2026
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.

4 participants