Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templates/paper/changeset.tmpl @ 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 | 44382887d012 |
line wrap: on
line diff
--- a/mercurial/templates/paper/changeset.tmpl Tue Jun 14 16:33:46 2011 +0200 +++ b/mercurial/templates/paper/changeset.tmpl Tue Jun 14 16:38:34 2011 +0200 @@ -66,9 +66,9 @@ <th class="diffstat">diffstat</th> <td class="diffstat"> {diffsummary} - <a id="diffstatexpand" href="javascript:showDiffstat()"/>[+]</a> + <a id="diffstatexpand" href="javascript:showDiffstat()"/>[<tt>+</tt>]</a> <div id="diffstatdetails" style="display:none;"> - <a href="javascript:hideDiffstat()"/>[-]</a> + <a href="javascript:hideDiffstat()"/>[<tt>-</tt>]</a> <p> <table>{diffstat}</table> </div>