This repository was archived by the owner on Apr 2, 2026. It is now read-only.
Commit 474a83b
committed
Switch treemap to vertical slice layout on narrow screens
Below 600px width, use d3.treemapSlice instead of squarify so each
taxonomy gets a full-width horizontal bar. Prevents text overflow
and keeps all labels readable on mobile.1 parent fa841eb commit 474a83b
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | 378 | | |
380 | 379 | | |
381 | 380 | | |
382 | 381 | | |
| 382 | + | |
| 383 | + | |
383 | 384 | | |
384 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
385 | 388 | | |
386 | 389 | | |
387 | 390 | | |
| |||
0 commit comments