forked from 0x2620/pandora
temporary fix for incorrectly positioned reflection image on home screen (Chrome 26)
This commit is contained in:
parent
9938512a1e
commit
e3e6235fb3
1 changed files with 3 additions and 2 deletions
|
@ -68,8 +68,9 @@ appPanel
|
|||
images.reflection.style.top = height + 'px';
|
||||
images.reflection.style.right = 0;
|
||||
images.reflection.style.bottom = 0;
|
||||
images.reflection.style.width = width + 'px';
|
||||
images.reflection.style.height = height + 'px';
|
||||
// FIXME: `+2` and `+1` are temporary fixes for Chrome 26
|
||||
images.reflection.style.width = width + 2 + 'px';
|
||||
images.reflection.style.height = height + 1 + 'px';
|
||||
images.reflection.style.margin = 'auto';
|
||||
images.reflection.style.MozTransform = 'scaleY(-1)';
|
||||
images.reflection.style.MSTransform = 'scaleY(-1)';
|
||||
|
|
Loading…
Reference in a new issue