Files
dsh-context/src
Bowen Liang 03f8adb094 fix(client): scale the DNA divider with band width so narrow bands keep their color
The DNA strip's card-colored divider was a fixed 1px inset box-shadow on
every band. Long sessions pin hundreds of bands at the 100/N floor
(≤1px wide), where the divider covers the whole band and blanks the
strip — a 792-item context rendered mostly background with a few
surviving ticks. Draw the divider as a gradient layer capped at
min(1px, 25%) of the band's own width instead: bands ≥4px keep the
exact 1px divider, narrower ones keep at least 75% of their color.
Segments set backgroundColor (longhand) so the inline style no longer
resets the stylesheet's background-image.
2026-09-09 21:32:27 +08:00
..