Closed CraftyDlx closed 4 years ago
Hello, are you talking about the top main menu? The demo dashboard https://material-dashboard-pro-laravel.creative-tim.com/dashboard work just fine with changing the window size.
@teamupdivision The demo dashboard has no top dropdown menu showing below 992px width, because it collapses. My navbar does never collapse, because it's my clients wish. So your answer does not apply to my issue.
How to make the dropdown menu keep correct length below 992px width? I did not find anything in the css, is this about measuring dropdown menu length in javascript?
Hello again @CraftyDlx,
You can try to set a height: auto
property for the dropdown. After that, it should look like in your first image.
Cheers,
Stefan
When width changes by browser below 992px width, a useless scrollbar appears and the dropdown menu gains length (see images). I did not do any changes to dropdown menu or items css.
Correct dropdown menu length:
Below 992px width: Dropdown menu length increased and scrollbar: