Skip to content

Commit

Permalink
Left Margin on graph, Canada in hero correctly titled
Browse files Browse the repository at this point in the history
  • Loading branch information
carlaiau committed Mar 30, 2020
1 parent cb977bb commit 97776ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/cumulative-graph/cumulative-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const CumulativeGraph = ({
return (
ready_to_graph.length ?
<>
<LineChart width={width} height={height} data={ready_to_graph} margin={{bottom: 20}}>
<LineChart width={width} height={height} data={ready_to_graph} margin={{bottom: 20, left: 10}}>

<YAxis width={55} type="number" scale={scale} domain={['auto', 'auto']} interval="preserveStart" tickCount={9}/>
<XAxis dataKey="num_day" name="Days" type="number" interval="number" tickCount={0}>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Hero = ({selected_country, selectFn}) => {
{ path: '/australia', label: 'AUS' },
{ path: '/united-kingdom', label: 'GBR' },
{ path: '/united-states', label: 'USA' },
{ path: '/canada', label: 'USA' },
{ path: '/canada', label: 'CAN' },
{ path: '/italy', label: 'ITA' },
{ path: '/spain', label: 'ESP' },
{ path: '/germany', label: 'DEU' },
Expand Down

0 comments on commit 97776ef

Please sign in to comment.