This commit is contained in:
Richard Ramos 2018-10-27 04:47:55 -04:00
parent 4ecf9fd6e3
commit f9d2ea451f
2 changed files with 5 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class BallotResult extends Component {
const votePercentage = totalVotes > 0 ? parseInt(quadraticVotes) / totalVotes * 100 : 0;
return (<div className="ballotResult">
<div className={show ? 'collapse progress progress-large' : 'progress progress-large'}>
<div className={show ? 'collapse progress progress-large' : 'progress progress-large'} onClick={this.showDetails}>
<span style={{width: votePercentage +'%'}}>
<Typography gutterBottom component="h2" onClick={this.showDetails}><span>{votePercentage.toFixed(2)}%</span> {title}</Typography>
</span>

View File

@ -66,4 +66,8 @@ input.form-control {
.SNTBalance {
float: right;
display: block;
}
.ballotResult .progress {
cursor: pointer;
}