add fix for chrome 26 positioning bug on second loading screen, too
This commit is contained in:
parent
d7455db641
commit
35776a30a7
2 changed files with 4 additions and 3 deletions
|
@ -105,7 +105,7 @@ appPanel
|
||||||
gradient.style.bottom = 0;
|
gradient.style.bottom = 0;
|
||||||
// FIXME: should be 320 and 160 - the values below are temporary fixes for Chrome 26
|
// FIXME: should be 320 and 160 - the values below are temporary fixes for Chrome 26
|
||||||
gradient.style.width = '322px';
|
gradient.style.width = '322px';
|
||||||
gradient.style.height = '161px';
|
gradient.style.height = '162px';
|
||||||
gradient.style.margin = 'auto';
|
gradient.style.margin = 'auto';
|
||||||
gradient.style.background = theme == 'classic'
|
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))'
|
? '-moz-linear-gradient(top, rgba(224, 224, 224, 0.75), rgba(224, 224, 224, 1), rgba(224, 224, 224, 1))'
|
||||||
|
|
|
@ -37,8 +37,9 @@ pandora.ui.home = function() {
|
||||||
top: '160px',
|
top: '160px',
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
width: '320px',
|
// FIXME: should be 320 and 160 - the values below are temporary fixes for Chrome 26
|
||||||
height: '160px',
|
width: '322px',
|
||||||
|
height: '162px',
|
||||||
margin: 'auto',
|
margin: 'auto',
|
||||||
})
|
})
|
||||||
.appendTo(that),
|
.appendTo(that),
|
||||||
|
|
Loading…
Reference in a new issue