diff tests/test-hgweb-commands.t @ 35201:ec71518acd4a

hgweb: remove negative top from .info line in graph "top: -Xpx" shifts a block up by X pixels, which can be used to visually compress two lines of text to have less space between them, in this case it's used for the changesets on /graph page. But not only it's not needed there (both lines fit fine into their allowed vertical space), but it would also look better (not as crammed, more vertically centered) without these negative values. "position: relative" is needed solely for the "top" property to have effect on the element, no children of the .info element rely on it, so let's remove it as well.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 01 Dec 2017 20:33:02 +0800
parents 69a865dc2ada
children d61f2a3d5e53
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t	Sun Dec 03 00:29:51 2017 +0530
+++ b/tests/test-hgweb-commands.t	Fri Dec 01 20:33:02 2017 +0800
@@ -2093,8 +2093,6 @@
   ul#graphnodes li .info {
   	display: block;
   	font-size: 70%;
-  	position: relative;
-  	top: -1px;
   }
 
 Stop and restart the server at the directory different from the repository