Allow multiline legend entries

text will pleasantly flow on right side rather than appearing under icon
This commit is contained in:
Mateusz Konieczny 2022-01-31 23:20:09 +01:00
parent fe94a51da4
commit bba80f4511

View File

@ -21,10 +21,6 @@
box-shadow: 0px 0px 1px 1px #222222; box-shadow: 0px 0px 1px 1px #222222;
} }
.map-legend * {
flex: 0;
}
.map-legend .logo { .map-legend .logo {
display: none; display: none;
} }
@ -87,7 +83,7 @@
} }
.data-legend li { .data-legend li {
white-space: nowrap; display: flex;
} }
.data-legend .key { .data-legend .key {
@ -98,6 +94,7 @@
vertical-align: middle; vertical-align: middle;
overflow: hidden; overflow: hidden;
border: solid 1px #ddd; border: solid 1px #ddd;
flex-shrink: 0;
} }
.data-legend h6 { .data-legend h6 {