Compare commits

...

2 Commits

Author SHA1 Message Date
Ajay
f92aad5ac2 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock 2025-12-01 01:58:40 -05:00
Ajay
a097ed7caf Fix chapter text rendering 2025-12-01 01:58:39 -05:00

View File

@@ -957,6 +957,7 @@ class PreviewBar {
const elem = document.createElement("div");
chapterTitle.parentElement.insertBefore(elem, chapterTitle);
elem.classList.add("sponsorChapterText");
elem.classList.add("ytp-chapter-title-content");
if (document.location.host === "tv.youtube.com") {
elem.style.lineHeight = "initial";
}