Mercurial > hg
diff tests/test-hgweb-commands.t @ 32992:816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
2d93d2159e30 changed the styling of the "page_nav" CSS class to use
flexbox to separate elements within the <div>. I didn't realize that
this class was used outside of the links in the header. So this
resulted in incorrectly formatting links in the footer of various
pages. Fix that by introducing a new CSS class that preserves the
old CSS behavior.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 20 Jun 2017 20:53:29 -0700 |
parents | 2d93d2159e30 |
children | 7c82bfd55d47 |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Sat Jun 17 13:25:42 2017 +0200 +++ b/tests/test-hgweb-commands.t Tue Jun 20 20:53:29 2017 -0700 @@ -1832,7 +1832,7 @@ // stop hiding script --> </script> - <div class="page_nav"> + <div class="extra_nav"> <a href="/graph/tip?revcount=30&style=gitweb">less</a> <a href="/graph/tip?revcount=120&style=gitweb">more</a> | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a>