Skip to content

Commit

Permalink
fix schedule on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
martincai8 committed Oct 29, 2024
1 parent 038b124 commit afb3bf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Schedule/Event.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const EventCard = styled(Card)`
margin-right: 0;
margin-top: -0.5em;
width: 100%;
height: ${MOBILE_HOUR_HEIGHT - EVENT_GAP} px;
height: ${MOBILE_HOUR_HEIGHT - EVENT_GAP}px;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/Schedule/Schedule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const MobileScrollableContainer = styled.div`
margin-top: 1em;
border-radius: 10px;
background: #244556;
background: ${p => p.theme.colors.schedule.background};
&:after {
content: '';
position: fixed;
Expand Down Expand Up @@ -338,7 +339,7 @@ const Schedule = ({ events, hackathonStart, hackathonEnd }) => {
<MobileOverflowContainer>
<HeaderContainer>
<Header>Day-Of-Events Schedule</Header>
<TagLegend />
<TagLegend theme={theme} />
</HeaderContainer>
<MobileScrollableContainer>
<ScheduleFlexContainer>
Expand Down

0 comments on commit afb3bf6

Please sign in to comment.