mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 04:57:09 +03:00
FIx chapter name alignment on new YouTube layout
This commit is contained in:
@@ -184,6 +184,10 @@ div:hover > .sponsorBlockChapterBar {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sbChapterVoteButton {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.playerButton {
|
.playerButton {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
@@ -957,5 +961,5 @@ input::-webkit-inner-spin-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sponsorblock-chapter-visible {
|
.sponsorblock-chapter-visible {
|
||||||
display: inherit !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
@@ -48,7 +48,7 @@ class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVote
|
|||||||
draggable="false"
|
draggable="false"
|
||||||
title={chrome.i18n.getMessage("upvoteButtonInfo")}
|
title={chrome.i18n.getMessage("upvoteButtonInfo")}
|
||||||
onClick={(e) => this.vote(e, 1)}>
|
onClick={(e) => this.vote(e, 1)}>
|
||||||
<ThumbsUpSvg className="playerButtonImage"
|
<ThumbsUpSvg className="playerButtonImage sbChapterVoteButton"
|
||||||
fill={Config.config.colorPalette.white}
|
fill={Config.config.colorPalette.white}
|
||||||
width={this.state.size} height={this.state.size} />
|
width={this.state.size} height={this.state.size} />
|
||||||
</button>
|
</button>
|
||||||
@@ -102,7 +102,7 @@ class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVote
|
|||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
<ThumbsDownSvg
|
<ThumbsDownSvg
|
||||||
className="playerButtonImage"
|
className="playerButtonImage sbChapterVoteButton"
|
||||||
fill={downvoteButtonColor(this.state.segment ? [this.state.segment] : null, SkipNoticeAction.Downvote, SkipNoticeAction.Downvote)}
|
fill={downvoteButtonColor(this.state.segment ? [this.state.segment] : null, SkipNoticeAction.Downvote, SkipNoticeAction.Downvote)}
|
||||||
width={this.state.size}
|
width={this.state.size}
|
||||||
height={this.state.size} />
|
height={this.state.size} />
|
||||||
|
|||||||
Reference in New Issue
Block a user