Skip to content

Commit

Permalink
feat(card): Use period instead of pound symbol in route card alternat…
Browse files Browse the repository at this point in the history
…e list
  • Loading branch information
trevorgerhardt committed Nov 21, 2016
1 parent 96186e1 commit ee84511
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/route-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ function renderJourneys ({ oldTravelTime, transitiveData, travelTime, waitTime }
const alternateTrips = alternateTripSegments.map((segments, jindex) => {
return (
<div className='Trip' key={`journey-${jindex}`}>
<span className='CardIndex'>#{jindex + 1}</span>
{segments}
<span className='CardIndex'>{jindex + 1}.</span>{segments}
</div>
)
})
Expand Down
2 changes: 1 addition & 1 deletion src/containers/indianapolis/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ body {
}

.CardIndex {
margin-right: 0.5rem;
margin-right: 0.25rem;
font-weight: bold;
display: inline-block;
width: 1rem;
Expand Down
3 changes: 3 additions & 0 deletions src/utils/raf-promise.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function rafPromise () {
return new Promise((resolve, reject) => window.requestAnimationFrame(resolve))
}

0 comments on commit ee84511

Please sign in to comment.