Skip to content

Commit d946271

Browse files
authored
Fix for posters style and mobile schedule padding (#1785)
1 parent 1850189 commit d946271

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

src/components/schedule/day.astro

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,28 @@ const endStart = numberToTime(lastEndTime);
737737
.room-info {
738738
text-align: center;
739739
}
740+
741+
/* Override inline grid on mobile — fits viewport */
742+
.lunch-break .lunch-break-content {
743+
display: block !important;
744+
grid-template-columns: none !important;
745+
width: 100%;
746+
}
747+
748+
.lunch-break .posters-inside {
749+
grid-column: auto !important;
750+
justify-self: auto !important;
751+
width: 100%;
752+
}
753+
754+
.lunch-break .poster-cards {
755+
flex-direction: column;
756+
}
757+
758+
.lunch-break .poster-cards :global(*) {
759+
flex: none;
760+
max-width: 100%;
761+
}
740762
}
741763

742764
@media screen and (min-width: 800px) {

src/styles/ep2026-theme.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ body.ep2026-theme {
121121
padding: 2rem 1.5rem;
122122
}
123123

124+
@media (max-width: 799px) {
125+
.ep-sched-inner {
126+
padding: 0;
127+
}
128+
}
129+
124130
/* Day title */
125131
.ep-sched-day-title {
126132
font-family: "Inter Tight", system-ui, sans-serif;

0 commit comments

Comments
 (0)