LPS-48504 - Navbar-header div being generated when there is no content

https://issues.liferay.com/browse/LPS-48054