Mercurial > hg
comparison tests/test-hgweb-removed.t @ 14608:4aef71839337
paper/coal: use fixed width for diffstat +/- link
The plus and minus characters are normally not the same width in a
non-monospace font, and this made the line length change when the
diffstat display was toggled.
The square brackets are not rendered in a monospace font to ensure
that they align with the parenthesis on the same line.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Tue, 14 Jun 2011 16:38:34 +0200 |
parents | 17c0cb1045e5 |
children | fe9d36a6853e |
comparison
equal
deleted
inserted
replaced
14607:bd1acea552ff | 14608:4aef71839337 |
---|---|
92 <tr> | 92 <tr> |
93 <th class="diffstat">diffstat</th> | 93 <th class="diffstat">diffstat</th> |
94 <td class="diffstat"> | 94 <td class="diffstat"> |
95 1 files changed, 0 insertions(+), 1 deletions(-) | 95 1 files changed, 0 insertions(+), 1 deletions(-) |
96 | 96 |
97 <a id="diffstatexpand" href="javascript:showDiffstat()"/>[+]</a> | 97 <a id="diffstatexpand" href="javascript:showDiffstat()"/>[<tt>+</tt>]</a> |
98 <div id="diffstatdetails" style="display:none;"> | 98 <div id="diffstatdetails" style="display:none;"> |
99 <a href="javascript:hideDiffstat()"/>[-]</a> | 99 <a href="javascript:hideDiffstat()"/>[<tt>-</tt>]</a> |
100 <p> | 100 <p> |
101 <table> <tr class="parity0"> | 101 <table> <tr class="parity0"> |
102 <td class="diffstat-file"><a href="#l1.1">a</a></td> | 102 <td class="diffstat-file"><a href="#l1.1">a</a></td> |
103 <td class="diffstat-total" align="right">1</td> | 103 <td class="diffstat-total" align="right">1</td> |
104 <td class="diffstat-graph"> | 104 <td class="diffstat-graph"> |