Skip to content

Commit bcf6915

Browse files
committed
feat(247): make the mapbox legend more legible
1 parent 9180fbd commit bcf6915

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/app/globals.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,18 @@
6464
.link {
6565
@apply text-primary underline;
6666
}
67+
68+
/* Styles for the mapbox legend pane. */
69+
.mapboxgl-ctrl-legend-pane summary {
70+
text-transform: capitalize;
71+
}
72+
73+
.mapboxgl-ctrl-legend-pane ul.list li {
74+
text-transform: capitalize;
75+
color: #173009;
76+
}
77+
78+
/* Crude way to hide the last "Other" legend item. */
79+
.mapboxgl-ctrl-legend-pane ul.list li:last-child {
80+
display: none;
81+
}

0 commit comments

Comments
 (0)