mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 23:58:13 +00:00
Fixes #13
This commit is contained in:
parent
4ecf9fd6e3
commit
f9d2ea451f
@ -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>
|
||||
|
@ -66,4 +66,8 @@ input.form-control {
|
||||
.SNTBalance {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ballotResult .progress {
|
||||
cursor: pointer;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user