add fix for chrome 26 positioning bug on second loading screen, too

This commit is contained in:
rolux 2012-12-22 02:31:40 +01:00
parent d7455db641
commit 35776a30a7
2 changed files with 4 additions and 3 deletions

View file

@ -105,7 +105,7 @@ appPanel
gradient.style.bottom = 0;
// FIXME: should be 320 and 160 - the values below are temporary fixes for Chrome 26
gradient.style.width = '322px';
gradient.style.height = '161px';
gradient.style.height = '162px';
gradient.style.margin = 'auto';
gradient.style.background = theme == 'classic'
? '-moz-linear-gradient(top, rgba(224, 224, 224, 0.75), rgba(224, 224, 224, 1), rgba(224, 224, 224, 1))'

View file

@ -37,8 +37,9 @@ pandora.ui.home = function() {
top: '160px',
right: 0,
bottom: 0,
width: '320px',
height: '160px',
// FIXME: should be 320 and 160 - the values below are temporary fixes for Chrome 26
width: '322px',
height: '162px',
margin: 'auto',
})
.appendTo(that),