peek/peek-performance_bar

Bootstrap 3

Closed this issue · 1 comments

Switched to Bootstrap 3 and now peek bar javascript is giving INSANE widths
e.g.

width: 1820.6347305389222px;

This shoots off to the right side of the page. Not really sure why or what would cause this with moving to Bootstrap 3. Please let me know if there's any way I can help.

I had this same issue for the longest time. I just did some digging and found out that it's not a problem with Bootstrap, or even with Peek. As explained by this stackoverflow answer, it's because the performance bar javascript is executing before the css width is being applied. Moving my stylesheet links above my JS fixed the problem.