ankurk91 / vue-loading-overlay

Vue.js component for full screen loading indicator :cyclone:
https://ankurk91.github.io/vue-loading-overlay/
MIT License
1.25k stars 102 forks source link

Fix the loader position #31

Closed aliraza371 closed 5 years ago

aliraza371 commented 5 years ago

Hello,

Thanks for the package.

I want to how can I fix the loader position, as I'm using the loader on two tables, The loader position varies by number content in a table, How I can assure that the spinner always be on top. Just like when there is no content in table.

Looking forward to your reply on this.

Thanks

ankurk91 commented 5 years ago

You can always override the css. It is using flex box. https://github.com/ankurk91/vue-loading-overlay/blob/master/src/css/index.css

The loader is being place center of its container by default. I would suggest to update container to have a min height.