Make sure that the spinner is only animated when visible

refs #8369
This commit is contained in:
Johannes Meyer 2015-08-21 09:54:05 +02:00
parent 07b17cc701
commit 7dd3fc6c78
1 changed files with 4 additions and 1 deletions

View File

@ -117,11 +117,14 @@ div.spinner {
&.active {
visibility: visible;
&:before {
.animate(spin 2s infinite linear);
}
}
&:before {
margin: 0; // Disables wobbling
.animate(spin 2s infinite linear);
}
}
}