Skip to content

Commit

Permalink
Improve GeoDistribution.tsx: Set the width of map to 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
imWildCat committed May 29, 2018
1 parent 21b1242 commit 22ef733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/GeoDistribution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class GeoDistribution extends React.Component<GeoDistributionProp
// const position = [this.state.lat, this.state.lng];
return (
<div>
<ComposableMap>
<ComposableMap style={{width: "100%"}}>
<ZoomableGroup>
<Geographies
geography={'https://raw.githubusercontent.com/zcreativelabs/react-simple-maps/master/topojson-maps/world-50m-simplified.json'}>
Expand Down

0 comments on commit 22ef733

Please sign in to comment.