mirror of
https://github.com/status-im/visual-identity.git
synced 2025-02-08 18:53:44 +00:00
make slider tooltip display quadratic
This commit is contained in:
parent
2422420282
commit
06a6cceb46
@ -30,7 +30,7 @@ class Poll extends PureComponent {
|
|||||||
Number of voters: {_voters}
|
Number of voters: {_voters}
|
||||||
</Typography>
|
</Typography>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
<Tooltip id="tooltip-icon" placement="top" title={`${value} SNT`}>
|
<Tooltip id="tooltip-icon" placement="top" title={`${value * value} SNT`}>
|
||||||
<CardActions>
|
<CardActions>
|
||||||
<Slider value={value} min={0} max={6} step={1} onChange={this.handleChange} />
|
<Slider value={value} min={0} max={6} step={1} onChange={this.handleChange} />
|
||||||
<Button variant="contained" color="primary">Vote</Button>
|
<Button variant="contained" color="primary">Vote</Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user