Skip to content

Commit

Permalink
fix(infinite-scroll): reduce memory used by innactive spinner. Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Jun 11, 2015
1 parent 7930339 commit 32da5cd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scss/_scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,10 @@ ion-infinite-scroll {
font-size: 30px;
color: $scroll-refresh-icon-color;
}
.icon:before,
.spinner{
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}
&:not(.active){
.spinner,
.icon:before{
-webkit-transform: translate3d(-1000px,0,0);
transform: translate3d(-1000px,0,0);
display:none;
}
}
}
Expand Down

0 comments on commit 32da5cd

Please sign in to comment.