I recently updated my site's mobile layout (max-width: 767px
) to include a collapsible menu, which you can view here.
However, I noticed that the menu used to expand to 100%
of the window width, but now it seems to be limited in width.
Here is the CSS code for my collapse menu:
.navbar-collapse {
max-width: 100% !important;
background: #cfcfcf;
float: left;
position: absolute;
top: 70px;
left: 0;
padding: 0 15px;
z-index: 999;
margin-top: -5px;
}
Any thoughts on what might be causing this issue?