# HG changeset patch # User Martin Geisler # Date 1308062314 -7200 # Node ID 4aef71839337c5548eba07f6e76d9b002d31ad70 # Parent bd1acea552ff2e79f62273625f6ee5f44a60b9cd 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. diff -r bd1acea552ff -r 4aef71839337 mercurial/templates/paper/changeset.tmpl --- 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 @@ diffstat {diffsummary} - [+] + [+] diff -r bd1acea552ff -r 4aef71839337 tests/test-hgweb-commands.t --- a/tests/test-hgweb-commands.t Tue Jun 14 16:33:46 2011 +0200 +++ b/tests/test-hgweb-commands.t Tue Jun 14 16:38:34 2011 +0200 @@ -357,9 +357,9 @@ 2 files changed, 2 insertions(+), 0 deletions(-) - [+] + [+]