Update navbar.less

fix for issue #11243
Merge pull request #11499 from bassjobsen/patch-3

fix navbar dropdown window resize bug