diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css
index e111d5e6bbbd7f77e72d158929a41af7353f48cf_bWVyY3VyaWFsL3RlbXBsYXRlcy9zdGF0aWMvc3R5bGUtcGFwZXIuY3Nz..dfc0fe1541d9fec107a37f72a0a6775b79a08a48_bWVyY3VyaWFsL3RlbXBsYXRlcy9zdGF0aWMvc3R5bGUtcGFwZXIuY3Nz 100644
--- a/mercurial/templates/static/style-paper.css
+++ b/mercurial/templates/static/style-paper.css
@@ -250,6 +250,7 @@
   color: #999;
   text-align: right;
   content: counters(lineno, ".");
+  float: left;
 }
 
 .sourcelines > span:target, tr:target td {