rstacruz / nprogress

For slim progress bars like on YouTube, Medium, etc
http://ricostacruz.com/nprogress
MIT License
26.11k stars 1.81k forks source link

Does not show if integrated with the navbar fixed of twitter bootstrap #32

Open kyeljmd opened 11 years ago

kyeljmd commented 11 years ago

I was trying this out with twitter bootstrap. however whenever I have a class ="navbar navbar-fixed-top" It does not show the NProgress.

jaytaylor commented 11 years ago

I am also running into this problem. It seems like it could be a z-index issue.

jaytaylor commented 11 years ago

As I suspected, changing the z-index values in the default CSS file from "100" to something high, such as "9999999" resolved the issue.

It would be nice if @rstacruz would add a note to the readme explaining how to make NProgress compatible with bootstrap.

caarlos0 commented 11 years ago

I fixed it with:

https://github.com/caarlos0/nprogress-rails/blob/master/vendor/assets/stylesheets/nprogress-bootstrap.css