Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-commands.t @ 30074:8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Add white-space: nowrap to td.annotate to avoid wrapping div.annotate-info
into next line if there is revision number in the same cell, as it is hard to
mouse over div.annotate-info if it's wrapped into next line.
author | Tooru Fujisawa <arai.unmht@gmail.com> |
---|---|
date | Sat, 08 Oct 2016 19:32:54 +0900 |
parents | c89b55c8f936 |
children | 7817df5585db |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Sat Oct 08 16:10:58 2016 +0200 +++ b/tests/test-hgweb-commands.t Sat Oct 08 19:32:54 2016 +0900 @@ -1965,6 +1965,9 @@ .annotate { font-size: smaller; text-align: right; padding-right: 1em; } tr.thisrev a { color:#999999; text-decoration: none; } tr.thisrev pre { color:#009900; } + td.annotate { + white-space: nowrap; + } div.annotate-info { display: none; position: absolute;