amitmahida92 / ng4-loading-spinner

Angular 4 custom async loading spinner.
MIT License
69 stars 31 forks source link

Spinner stuck to right #47

Open jordanjones98 opened 6 years ago

jordanjones98 commented 6 years ago

When calling this.spinnerService.show() the default spinner (no template) shows all the way to the right side of the screen. I can not seem to get it to come to the left. I have even copied your template example and it still will not center, or even move. I would really like to use the default spinner as I think it looks pretty nice and simple, but I can't get any template to work either. Attached is a screenshot.

screen shot 2018-07-30 at 10 21 09 am

amitmahida92 commented 5 years ago

@jordanjones98 which browser are you using?

aakashjangid commented 5 years ago

Hi, I am facing the same issue. Anyone got any idea or fix of it ?

NehaJagan commented 4 years ago

Hi,Im also facing the same issue.. is there any way to center the spinner?

Pankajroyal76 commented 4 years ago

Please add this css for loader class .lds-roller { position: absolute; width: 64px; height: 64px; left: 0; top: 47%; right: 0; display: block; margin: 0 auto; text-align: center; }