Skip to content

Commit

Permalink
Don't paint spinner when its not doing anything
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Feb 16, 2016
1 parent 064b043 commit 6085777
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/public/styles/spinner.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@color2: @kibanaPink2;

.spinner.ng-hide {
visibility: hidden;
display: block !important;
opacity: 0;
transition-delay: 0.25s;
Expand All @@ -16,6 +17,7 @@
right: 0;
height: 2px;
position: absolute;
visibility: visible;
display: block;
animation: move 2s linear infinite;
background-color: @kibanaPink2;
Expand Down

0 comments on commit 6085777

Please sign in to comment.