ankurk91 / vue-loading-overlay

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

Fix for a full screen fixed loader! #39

Closed magarrent closed 4 years ago

magarrent commented 4 years ago

Hey, use this if you want a full width container and fixed center loader:

.vld-overlay .vld-icon, .vld-parent {
    position: fixed !important;
    top: 45vh !important;
}

.vld-overlay .vld-background {
    position: fixed !important;
}
ankurk91 commented 4 years ago

If this message was for me, i will try. But I dont want to use important in css

magarrent commented 4 years ago

If this message was for me, i will try. But I dont want to use inportant

Hey, It's just a tip, because the loader only appears at the top of the page, if you scroll down you lost it. This tip is if you want to see the loader in the middle of the screen always