Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I move the spinner to the middle of the screen? #240

Open
phpcontrols opened this issue Jun 14, 2022 · 2 comments
Open

Can I move the spinner to the middle of the screen? #240

phpcontrols opened this issue Jun 14, 2022 · 2 comments

Comments

@phpcontrols
Copy link

I wanted to users to know that they need to wait for the spinner to go away before proceed. Possible?

@tiagorangel2011
Copy link

Great idea, +1!

@Tof-Arei
Copy link

These CSS overrides seem to be working in my case :

#nprogress .spinner {
    /* ... */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#nprogress .spinner-icon {
    /* ... */
    margin: auto;
    /* ... */
}

There must be cleaner ways to achieve this, but time is a scarce commodity... ^^'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants