Use css instead of  

This commit is contained in:
William MARTIN 2011-06-15 17:29:29 +02:00
parent 5427aab456
commit 6e7c9f7c4b
2 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<td style="width:{$value[1] * 0.8 + 1}%" 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 class="graph-percent">{$value[1]}%</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -52,7 +52,7 @@
<td style="width:{$value[1] * 0.8 + 1}%" 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 class="graph-percent">{$value[1]}%</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -79,7 +79,7 @@
<td style="width:{$value[1] * 0.8 + 1}%" 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 class="graph-percent">{$value[1]}%</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -1146,7 +1146,11 @@ table.graph {
padding: 0; padding: 0;
} }
td.graph-color { table.issue-summary td.graph-color {
background: #3C78B5; background: #3C78B5;
} }
table.issue-summary td.graph-percent {
padding-left: 1em;
}