mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 21:47:06 +03:00
Show black text on pill for unpaid promotion
This commit is contained in:
@@ -618,7 +618,6 @@ input::-webkit-inner-spin-button {
|
|||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
color: white;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ class CategoryPillComponent extends React.Component<CategoryPillProps, CategoryP
|
|||||||
render(): React.ReactElement {
|
render(): React.ReactElement {
|
||||||
const style: React.CSSProperties = {
|
const style: React.CSSProperties = {
|
||||||
backgroundColor: Config.config.barTypes["preview-" + this.state.segment?.category]?.color,
|
backgroundColor: Config.config.barTypes["preview-" + this.state.segment?.category]?.color,
|
||||||
display: this.state.show ? "flex" : "none"
|
display: this.state.show ? "flex" : "none",
|
||||||
|
color: this.state.segment?.category === "sponsor" ? "white" : "black",
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user