Commit 44d1e47
authored
fix: preserve line breaks in tooltip field values (#3311)
Change white-space from no-wrap to pre-line for .row__value in tooltip
table, so that newline characters in GeoJSON properties (e.g. desc tags)
are properly displayed as line breaks.
Also fixes the invalid CSS value 'no-wrap' (should be 'nowrap') on
.row__name.
Fixes #2369
Signed-off-by: pierreeurope <pierre.europe@pm.me>1 parent e2cc341 commit 44d1e47
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| |||
0 commit comments