darthwade / angular-loading

Angular directive that lets you to prevent user interaction with part of the page and display loading/busy indicator (spinner based on spin.js)
http://embed.plnkr.co/XLL3li/preview
MIT License
96 stars 49 forks source link

Please update to latest Spin.js #10

Open akuznetsov-gridgain opened 9 years ago

akuznetsov-gridgain commented 9 years ago

Latest version of spin.js is 2.3.2.

May be only README.md should be updated. Line with: src="//cdnjs.cloudflare.com/ajax/libs/spin.js/1.2.7/spin.min.js"

akuznetsov-gridgain commented 9 years ago

I checked with spin.js 2.3.2 and found that Display text is not centered under spinner. But if I use 1.2.7 version - it does.

KreepN commented 8 years ago

The above, I believe is incorrect. As of spin.js 2.3.2, the text is in fact centered, whereas the spinner itself is shifted to the left. I know it was posted last year, but since spin.js hasn't been updated this issue is still relevant.

Simple fix:

.dw-loading > .dw-loading-body > .dw-loading-spinner { position: relative; left: 50%; }