mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
AC-963 fixed spinny not aligning with visible viewport, I think.
This commit is contained in:
@@ -148,7 +148,7 @@ textarea {
|
|||||||
/* Working... spinner */
|
/* Working... spinner */
|
||||||
.spinny {
|
.spinny {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
width: 75px;
|
width: 75px;
|
||||||
height: 75px;
|
height: 75px;
|
||||||
|
|||||||
@@ -379,10 +379,7 @@ angular.module('Utilities',['RestServices', 'Utilities'])
|
|||||||
width: $('html').width(),
|
width: $('html').width(),
|
||||||
height: $(document).height() + 200
|
height: $(document).height() + 200
|
||||||
}).fadeIn();
|
}).fadeIn();
|
||||||
$('.spinny').css({
|
$('.spinny').css({ top: y, left: x }).fadeIn(400);
|
||||||
top: y,
|
|
||||||
left: x
|
|
||||||
}).fadeIn(400);
|
|
||||||
}
|
}
|
||||||
else if (directive == 'stop' && $rootScope.waiting){
|
else if (directive == 'stop' && $rootScope.waiting){
|
||||||
$('.spinny, .overlay').fadeOut(400, function(){ $rootScope.waiting = false; });
|
$('.spinny, .overlay').fadeOut(400, function(){ $rootScope.waiting = false; });
|
||||||
|
|||||||
Reference in New Issue
Block a user