Open 4levels opened 6 years ago
Hi,
after some digging around, I found that the offending media rule seems to be in material-design.css:12345
, where regardless of the container's navbar-expand-*
class, the navbar is being hidden by the @media all and (max-width: 991px) {
statement on line 12329
I tried adjusting this, but this seems a bit out of my leage as there is a lot going on in that section..
When comparing to the regular boostrap media queries, they seem to be using @media min-width: xxx
for each expanding class instead of the max-width
.
Hope this is a quick fix for you guys as this has apparently already been resolved in the Pro version..
Kind regards,
Erik
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
Navbar's navbar-expand-* breakpoint should be respected
Current Behavior
The navbar always toggles on the
lg
breakpoint, so if a different breakpoint is set by using eg.navbar-expand-sm
(instead of the defaultnavbar-expand-lg
), the navbar still collapses on thelg
breakpoint, leaving it unusable between the desired breakpoint and thelg
breakpoint. When reaching the desired breakpoint, all looks good againFailure Information (for bugs)
This seems to be an existing bug and was already fixed in the pro version 2.0.3, just a I found out in this issue: https://github.com/creativetimofficial/ct-material-kit-pro/issues/75 Since the pro version is an empty repo, I cannot apply the fix myself
Steps to Reproduce
-sm
,-md
,-xs
Context
Failure Logs
I can provide screenshots if needed, but this issue is so obvious and so easy to reproduce, please ask if needed