How to stop items from packing when I enlarge the page?

I am working on a site. The problem is that I change the resolution of the page with the browser (CTRL - / + OR CTRL ZOOM), the last button overflows down. I tried overflow: hidden, but I could not solve it. And also I realized that on some computer, depending on the resolution, the button overflows down, even if I do not increase it.

No scaling enter image descrifdf

With scaling enter image description here

+3
source share
2 answers

Try adding white-space: nowrap;to an item containing menu items.

+5
source

if you explicitly define the width of the container, it will not decrease, and the elements will not be wrapped.

0
source

All Articles