Skip to content

Commit 3ead234

Browse files
authored
Merge pull request #3583 from Vizzuality/feature/tsc-mini-legend
Remove dot, indent left
2 parents e968560 + aaddab0 commit 3ead234

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/javascript/components/map/components/mini-legend/mini-legend-component.jsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ class MiniLegend extends PureComponent {
2121
<ul>
2222
{layers.map(l => (
2323
<li key={l.slug}>
24-
<span style={{ backgroundColor: l.title_color }} />
24+
<span
25+
style={
26+
l.slug === 'loss_by_driver'
27+
? { marginLeft: '-1rem' }
28+
: { backgroundColor: l.title_color }
29+
}
30+
/>
2531
{l.title}
2632
</li>
2733
))}

0 commit comments

Comments
 (0)