Skip to content

Commit

Permalink
Merge pull request #475 from jsconfjp/fix/mobile-minor-track-breaks
Browse files Browse the repository at this point in the history
Hide breaks that are not for the entire building in the mobile view
  • Loading branch information
yosuke-furukawa authored Oct 31, 2024
2 parents 0b2259e + 2314229 commit 530c381
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 2024/src/templates/schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ const Area = styled(OptionalLink)<{
${({ theme }) => theme.breakpoints.mobile} {
margin-bottom: 1em;
${({ "$is-break": isBreak, track }) =>
isBreak && track !== "A" ? "display: none;" : ""}
@media print {
margin-bottom: 0.2em;
}
Expand Down

0 comments on commit 530c381

Please sign in to comment.