Skip to content

Commit

Permalink
fix: fix negative width in svg viewbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jul 7, 2020
1 parent 5e329c6 commit b32a4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/components/GeneMap/GeneMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function GeneMapUnsized({ width, height }: ReactResizeDetectorDimensions)
if (!width || !height) {
return (
<GeneMapWrapper>
<GeneMapSVG viewBox={`0 0 -25 50`} />
<GeneMapSVG viewBox={`0 -25 50 50`} />
</GeneMapWrapper>
)
}
Expand Down

0 comments on commit b32a4f6

Please sign in to comment.