Bug 1012811 - Color swatch background doesn't stay in the right place while scrolling. r=bgrins

This commit is contained in:
Tim Nguyen 2014-05-19 15:21:25 -05:00
parent 352561575b
commit 66287d245e
2 changed files with 11 additions and 5 deletions

View File

@ -168,7 +168,7 @@ body {
.link:hover {
text-decoration: underline;
}
}
.computedview-colorswatch {
border-radius: 50%;
@ -177,6 +177,7 @@ body {
vertical-align: text-top;
-moz-margin-end: 5px;
display: inline-block;
position: relative;
}
.computedview-colorswatch::before {
@ -188,7 +189,9 @@ body {
background-position: 0 0, 6px 6px;
position: absolute;
border-radius: 50%;
width: 1em;
height: 1em;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}

View File

@ -119,6 +119,7 @@
vertical-align: text-top;
-moz-margin-end: 5px;
display: inline-block;
position: relative;
}
.ruleview-colorswatch::before {
@ -130,8 +131,10 @@
background-position: 0 0, 6px 6px;
position: absolute;
border-radius: 50%;
width: 1em;
height: 1em;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}