MDL-36449 usability: Fixed spinner position in lightbox
This commit is contained in:
@@ -859,8 +859,7 @@ M.util.add_lightbox = function(Y, node) {
|
||||
})
|
||||
.setStyles({
|
||||
'position' : 'relative',
|
||||
'top' : '50%',
|
||||
'left' : '50%'
|
||||
'top' : '50%'
|
||||
});
|
||||
|
||||
var lightbox = Y.Node.create('<div></div>')
|
||||
@@ -872,7 +871,7 @@ M.util.add_lightbox = function(Y, node) {
|
||||
'top' : 0,
|
||||
'left' : 0,
|
||||
'backgroundColor' : 'white',
|
||||
'text-align' : 'center'
|
||||
'textAlign' : 'center'
|
||||
})
|
||||
.setAttribute('class', 'lightbox')
|
||||
.hide();
|
||||
|
||||
Reference in New Issue
Block a user