Skip to content

Commit a097ed7

Browse files
committed
Fix chapter text rendering
1 parent 44941ac commit a097ed7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/js-components/previewBar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ class PreviewBar {
957957
const elem = document.createElement("div");
958958
chapterTitle.parentElement.insertBefore(elem, chapterTitle);
959959
elem.classList.add("sponsorChapterText");
960+
elem.classList.add("ytp-chapter-title-content");
960961
if (document.location.host === "tv.youtube.com") {
961962
elem.style.lineHeight = "initial";
962963
}

0 commit comments

Comments
 (0)