Show black text on pill for unpaid promotion

This commit is contained in:
Ajay
2022-01-06 15:18:40 -05:00
parent c63416fd7b
commit d16a409db2
2 changed files with 2 additions and 2 deletions

View File

@@ -618,7 +618,6 @@ input::-webkit-inner-spin-button {
padding-left: 8px;
padding-right: 8px;
margin-right: 3px;
color: white;
cursor: pointer;
font-size: 75%;
height: 100%;

View File

@@ -34,7 +34,8 @@ class CategoryPillComponent extends React.Component<CategoryPillProps, CategoryP
render(): React.ReactElement {
const style: React.CSSProperties = {
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 (