Skip to content

Commit a569f08

Browse files
committed
style(programa): constrain schedule list width to keep heart button close
The favorite button was being pushed to the far right of the full-width viewport via ml-auto, which on desktop made it feel disconnected from the rest of the session metadata. Add max-w-3xl mx-auto to the schedule-list container so the day headings and session cards stay within a comfortable reading width (768px), keeping the heart visually close to the time/track info on the same row.
1 parent c3c42d5 commit a569f08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ScheduleList.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const knownLangs = new Set(['en', 'es', 'ca'])
1919
const talkLang = (s: { language: string }) => (knownLangs.has(s.language) ? s.language : lang)
2020
---
2121

22-
<div class="schedule-list">
22+
<div class="schedule-list max-w-3xl mx-auto">
2323
{
2424
schedule.days.map((day) => (
2525
<section class="mb-12" aria-labelledby={`day-${day.index}-heading`}>

0 commit comments

Comments
 (0)