WIP mozreview: fix alignment of moved-block line numbers (bug 1115707); r!smacleod draft
authorbyron jones <glob@mozilla.com>
Wed, 31 Aug 2016 22:37:52 +0800
changeset 9461 12db09bdc3d69818e319f6a91bedd1cc88a45544
parent 9460 66ff93c3f2ff3591ab5edf8788e92ebed448cc7b
push id1187
push userbjones@mozilla.com
push dateThu, 01 Sep 2016 13:13:36 +0000
bugs1115707
WIP mozreview: fix alignment of moved-block line numbers (bug 1115707); r!smacleod Override upstream's 2px calculated value with 18px (our 20px padding minus the right-hand border width of 2px). MozReview-Commit-ID: Co1uVVLqAkX
pylib/mozreview/mozreview/static/mozreview/css/viewdiff.less
--- a/pylib/mozreview/mozreview/static/mozreview/css/viewdiff.less
+++ b/pylib/mozreview/mozreview/static/mozreview/css/viewdiff.less
@@ -64,16 +64,21 @@ button.diff-file-btn {
                 }
             }
 
             th {
                 padding-right: 20px;
             }
         }
     }
+    .moved-row {
+      th {
+        padding-right: 18px;
+      }
+    }
 }
 
 span.ghost-commentflag {
     display: none !important;
 }
 
 /* make review comments more noticable */