Commit 1bdb521
committed
fix(vortex-web): restore treemap header band so strips stop overlapping
The header bars were piling up on top of each other (and on leaf labels) at
the top of the map because `.paddingTop(18)` was being overridden: d3's
`.paddingOuter(1)` also sets the top pad and was called after it, collapsing the
band to 1px. Set `paddingTop` last so each container gets a real 18px band, and
lay out PAD_TOP taller with an upward shift so the root's own band doesn't leave
a top margin. Strips now sit in their own bands with no overlap.
Signed-off-by: Robert <robert@spiraldb.com>1 parent 3c7dfb6 commit 1bdb521
4 files changed
Lines changed: 13 additions & 3 deletions
File tree
- vortex-web
- docs/img
- src/components/explorer
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
189 | 191 | | |
190 | | - | |
191 | 192 | | |
192 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
193 | 198 | | |
194 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
195 | 205 | | |
196 | 206 | | |
197 | 207 | | |
| |||
0 commit comments