diff --git a/rhodecode/public/css/diff.less b/rhodecode/public/css/diff.less --- a/rhodecode/public/css/diff.less +++ b/rhodecode/public/css/diff.less @@ -6,14 +6,15 @@ div.diffblock .code-header .changeset_he // Line select and comment div.diffblock.margined.comm tr { td { - position: relative; + // IMPORTANT - never position:relative this as it causes insanely + // slow rendering } .add-comment-line { // Force td width for Firefox width: 20px; - - // TODO: anderson: fixing mouse-over bug. + + // TODO: anderson: fixing mouse-over bug. // why was it vertical-align baseline in first place?? vertical-align: top !important; // Force width and display for IE 9 @@ -23,9 +24,8 @@ div.diffblock.margined.comm tr { a { display: none; - position: absolute; - top: 2px; - left: 2px; + margin-top: 2px; + margin-left: 2px; color: @grey3; } } @@ -69,7 +69,7 @@ div.diffblock.margined.comm tr { &.commenting { &, del, ins { background-image: none !important; - background-color: lighten(@alert4, 10%) !important; + background-color: lighten(@alert4, 10%) !important; } } } diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -27,7 +27,6 @@ @import 'panels'; @import 'deform'; - //--- BASE ------------------// .noscript-error { top: 0;