diff --git a/mercurial/templates/static/style-gitweb.css b/mercurial/templates/static/style-gitweb.css --- a/mercurial/templates/static/style-gitweb.css +++ b/mercurial/templates/static/style-gitweb.css @@ -232,6 +232,7 @@ div.followlines-link { } .btn-followlines { + position: absolute; display: none; cursor: pointer; box-sizing: content-box; @@ -249,14 +250,6 @@ div.followlines-link { line-height: 5px; } -tr .btn-followlines { - position: absolute; -} - -span .btn-followlines { - float: left; -} - span.followlines-select .btn-followlines { margin-left: -1.6em; } diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css +++ b/mercurial/templates/static/style-paper.css @@ -350,6 +350,7 @@ div.followlines-link { } .btn-followlines { + position: absolute; display: none; cursor: pointer; box-sizing: content-box; @@ -367,14 +368,6 @@ div.followlines-link { line-height: 5px; } -tr .btn-followlines { - position: absolute; -} - -span .btn-followlines { - float: left; -} - span.followlines-select .btn-followlines { margin-left: -1.5em; } diff --git a/tests/test-hgweb.t b/tests/test-hgweb.t --- a/tests/test-hgweb.t +++ b/tests/test-hgweb.t @@ -340,7 +340,7 @@ static file $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server 200 Script output follows - content-length: 9126 + content-length: 9059 content-type: text/css body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; } @@ -577,6 +577,7 @@ static file } .btn-followlines { + position: absolute; display: none; cursor: pointer; box-sizing: content-box; @@ -594,14 +595,6 @@ static file line-height: 5px; } - tr .btn-followlines { - position: absolute; - } - - span .btn-followlines { - float: left; - } - span.followlines-select .btn-followlines { margin-left: -1.6em; }