mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Implement support for YouTube TV (tv.youtube.com)
This commit is contained in:
@@ -20,6 +20,10 @@ export class ChapterVote {
|
||||
this.container.id = "chapterVote";
|
||||
this.container.style.height = "100%";
|
||||
|
||||
if (document.location.host === "tv.youtube.com") {
|
||||
this.container.style.lineHeight = "initial";
|
||||
}
|
||||
|
||||
this.root = createRoot(this.container);
|
||||
this.root.render(<ChapterVoteComponent ref={this.ref} vote={vote} />);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user