Skip to content

Commit

Permalink
fix(img-loader): center align spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Mar 22, 2017
1 parent d64588f commit 8655454
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/img-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { ImageLoaderConfig } from '../providers/image-loader-config';

@Component({
selector: 'img-loader',
template: '<ion-spinner *ngIf="spinner && isLoading"></ion-spinner>'
template: '<ion-spinner *ngIf="spinner && isLoading"></ion-spinner>',
styles: ['ion-spinner { float: none; margin-left: auto; margin-right: auto; display: block; }']
})
export class ImgLoader implements OnInit {

Expand Down

0 comments on commit 8655454

Please sign in to comment.