(fix) Vote colors class names were backwards (yes was red, no was green).
This commit is contained in:
parent
60f80a4ba1
commit
fd71035a52
File diff suppressed because one or more lines are too long
|
@ -14,14 +14,14 @@
|
|||
height: 100%;
|
||||
border-radius: 3px;
|
||||
|
||||
&_yes {
|
||||
&_no {
|
||||
background-color: $danger-color;
|
||||
.sokol & {
|
||||
background-color: $danger-color-sokol;
|
||||
}
|
||||
}
|
||||
|
||||
&_no {
|
||||
&_yes {
|
||||
background-color: $success-color;
|
||||
.sokol & {
|
||||
background-color: $success-color-sokol;
|
||||
|
|
|
@ -455,7 +455,7 @@ export class BallotCard extends React.Component {
|
|||
<p className="vote-scale--percentage">{this.votesAgainstPercents}%</p>
|
||||
<div className={voteScaleClass}>
|
||||
<div
|
||||
className="vote-scale--fill vote-scale--fill_yes"
|
||||
className="vote-scale--fill vote-scale--fill_no"
|
||||
style={{ width: `${this.votesAgainstPercents}%` }}
|
||||
/>
|
||||
</div>
|
||||
|
@ -466,7 +466,7 @@ export class BallotCard extends React.Component {
|
|||
<p className="vote-scale--votes">{this.votesForNumber} Votes</p>
|
||||
<p className="vote-scale--percentage">{this.votesForPercents}%</p>
|
||||
<div className={voteScaleClass}>
|
||||
<div className="vote-scale--fill vote-scale--fill_no" style={{ width: `${this.votesForPercents}%` }} />
|
||||
<div className="vote-scale--fill vote-scale--fill_yes" style={{ width: `${this.votesForPercents}%` }} />
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
|
|
Loading…
Reference in New Issue