Skip to content

Commit

Permalink
fix: set width and height for line legend items in ff (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee committed Apr 23, 2019
1 parent 2bdeeb5 commit 33a3860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layers/legend/LegendItem.js
Expand Up @@ -34,7 +34,7 @@ const LegendItem = ({
<span style={symbol} />
) : (
// Draw line
<svg viewBox="0 0 24 24">
<svg viewBox="0 0 24 24" style={{ width: 24, height: 24 }}>
<path
stroke={color}
strokeWidth={weight}
Expand Down

0 comments on commit 33a3860

Please sign in to comment.