improve rendering of 0% bar

This commit is contained in:
William MARTIN 2011-06-15 11:30:11 +02:00
parent ef5b93e3f7
commit b03d7a04a0

View File

@ -20,7 +20,7 @@
<td class="graph"> <td class="graph">
<table class='graph'> <table class='graph'>
<tbody><tr> <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> <div class="colour-bar"></div>
</td> </td>
<td>&nbsp;&nbsp;&nbsp;{$value[1]}%</td> <td>&nbsp;&nbsp;&nbsp;{$value[1]}%</td>
@ -49,7 +49,7 @@
<td class="graph"> <td class="graph">
<table class='graph'> <table class='graph'>
<tbody><tr> <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> <div class="colour-bar"></div>
</td> </td>
<td>&nbsp;&nbsp;&nbsp;{$value[1]}%</td> <td>&nbsp;&nbsp;&nbsp;{$value[1]}%</td>
@ -76,7 +76,7 @@
<td class="graph"> <td class="graph">
<table class='graph'> <table class='graph'>
<tbody><tr> <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> <div class="colour-bar"></div>
</td> </td>
<td>&nbsp;&nbsp;&nbsp;{$value[1]}%</td> <td>&nbsp;&nbsp;&nbsp;{$value[1]}%</td>