ux: remove position relative on diff td as it causes very slow
rendering in browsers
This commit is contained in:
parent
73ba40da93
commit
08a1f1af34
2 changed files with 7 additions and 8 deletions
|
|
@ -6,14 +6,15 @@ div.diffblock .code-header .changeset_header > div {
|
|||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
@import 'panels';
|
||||
@import 'deform';
|
||||
|
||||
|
||||
//--- BASE ------------------//
|
||||
.noscript-error {
|
||||
top: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue