mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Fix votes appearing for unsubmitted segments
This commit is contained in:
@@ -126,6 +126,10 @@ div:hover > .sponsorBlockChapterBar {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.playerButton.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Removes auto width from being a ytp-player-button */
|
||||
.sbPlayerDownvote {
|
||||
width: auto !important;
|
||||
|
||||
@@ -37,6 +37,7 @@ export class ChapterVote {
|
||||
setVisibility(show: boolean): void {
|
||||
const newState = {
|
||||
show,
|
||||
...(!show ? { segment: null } : {})
|
||||
};
|
||||
|
||||
if (this.ref.current) {
|
||||
|
||||
Reference in New Issue
Block a user