When the window width is too small the upper main bar takes to much space.
According the the available width, we could change or hide stuffs from the bar to always have a fixed height.