Commit bb02aa5
authored
fix: prevent glitch on dynamically add chapters re-render (#1236)
Resolves [1200](#1200) When
chapters are updated dynamically, re-rendering the segments could
produce visual glitches due to stale CSS rules being reused.
This change ensures that all previous CSS rules related to chapter
segments are cleared before creating new ones.1 parent 5c54cc5 commit bb02aa5
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
505 | | - | |
| 506 | + | |
506 | 507 | | |
507 | 508 | | |
508 | 509 | | |
| |||
0 commit comments