diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 82a83138..c4ad8a0b 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -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"; }