improve rendering of 0% bar
This commit is contained in:
parent
ef5b93e3f7
commit
b03d7a04a0
@ -20,7 +20,7 @@
|
||||
<td class="graph">
|
||||
<table class='graph'>
|
||||
<tbody><tr>
|
||||
<td style="width:{$value[1] * 0.8}%" class="graph-color" valign="center">
|
||||
<td style="width:{$value[1] * 0.8 + 1}%" class="graph-color" valign="center">
|
||||
<div class="colour-bar"></div>
|
||||
</td>
|
||||
<td> {$value[1]}%</td>
|
||||
@ -49,7 +49,7 @@
|
||||
<td class="graph">
|
||||
<table class='graph'>
|
||||
<tbody><tr>
|
||||
<td style="width:{$value[1] * 0.8}%" class="graph-color" valign="center">
|
||||
<td style="width:{$value[1] * 0.8 + 1}%" class="graph-color" valign="center">
|
||||
<div class="colour-bar"></div>
|
||||
</td>
|
||||
<td> {$value[1]}%</td>
|
||||
@ -76,7 +76,7 @@
|
||||
<td class="graph">
|
||||
<table class='graph'>
|
||||
<tbody><tr>
|
||||
<td style="width:{$value[1] * 0.8}%" class="graph-color" valign="center">
|
||||
<td style="width:{$value[1] * 0.8 + 1}%" class="graph-color" valign="center">
|
||||
<div class="colour-bar"></div>
|
||||
</td>
|
||||
<td> {$value[1]}%</td>
|
||||
|
Loading…
Reference in New Issue
Block a user