Skip to content

Commit

Permalink
Merge pull request #186 from nwplus/update-cmdf-card
Browse files Browse the repository at this point in the history
fixed line spacing between text and date
  • Loading branch information
michelleykim authored Feb 10, 2024
2 parents 6e0c703 + 4bfe320 commit f287a34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/HackathonCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const EventDataContainer = styled.div`

const EventRegistrationStatus = styled.div`
color: ${p => p.registrationOpen ? p.theme.colors.primary : 'white'};
${p => p.registrationOpen && 'margin-right: 3em;'} /* if registeration open, add 3 spaces in front, or date will be on the same line */
`

const EventDateString = styled.div`
Expand Down

0 comments on commit f287a34

Please sign in to comment.