mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-36449 usability: Fixed spinner position in lightbox
This commit is contained in:
parent
10994f27a1
commit
85947dcc22
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user