Reputation: 600
I am trying to create a responsive website , this is the URL http://waverin.com . I am able to make it responsive and navbar is almost working. Only issue is on a mobile device it provides a a little scrollbar making it not look so elegant.
Upvotes: 3
Views: 2586
Reputation: 14345
Try removing the negative right margin here:
@media (max-width: 767px) {
.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
margin-right: -20px;
margin-left: -20px;
}
Because the div is position: static
at that width, the negative right margin causes that element to blow out by 20px, and thus you get the scroll.
Upvotes: 2