Skip to content

Commit

Permalink
Merge pull request #205 from nwplus/fix-sched
Browse files Browse the repository at this point in the history
fix: mobile override for schedule
  • Loading branch information
jackyzha0 authored Dec 6, 2020
2 parents 3f11721 + b12586b commit 2117aa4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/Schedule/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ const EventCard = styled(Card)`
`}
margin: 5px;
padding: ${EVENT_GAP}px 15px;
width: ${EVENT_WIDTH - 50}px;
margin-top: ${props => props.timeStart * HOUR_HEIGHT}px;
height: ${props => props.duration * HOUR_HEIGHT - EVENT_GAP * 4}px;
&&& {
padding: ${EVENT_GAP}px 15px;
margin-top: ${props => props.timeStart * HOUR_HEIGHT}px;
height: ${props => props.duration * HOUR_HEIGHT - EVENT_GAP * 4}px;
}
overflow-y: scroll;
${ScrollbarLike};
Expand Down

0 comments on commit 2117aa4

Please sign in to comment.