We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21882ee + d92ae6f commit e264ceeCopy full SHA for e264cee
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@eqworks/react-maps",
3
- "version": "0.11.9",
+ "version": "0.11.10",
4
"description": "React maps",
5
"author": "EQ Inc.",
6
"license": "UNLICENSED",
src/components/legend/legend-item.js
@@ -13,6 +13,7 @@ import {
13
LEGEND_RADIUS_SIZE,
14
LEGEND_TITLE_BOTTOM_MARGIN,
15
LEGEND_TEXT_GAP,
16
+ LEGEND_SYMBOL_WIDTH,
17
} from '../../constants'
18
19
@@ -182,7 +183,7 @@ const LegendItem = ({ legendItemProps }) => {
182
183
<LegendBody id='legend-body' padding={paddingLeft}>
184
<LegendTitle
185
id='legend-title'
- legendelemwidth={legendElemWidth}
186
+ legendelemwidth={LEGEND_SYMBOL_WIDTH[legendSize]}
187
marginbottom={legendTitleMarginBottom}
188
marginleft={legendElementsLeftMargin + symbolContainerLeftMargin}
189
>
0 commit comments