Chrome closes the viewport when I open the web inspector

For some reason, when I open the web inspector in Chrome, the browser view window is shrinking. The only way to fix this is to close the inspector. Does anyone know how to fix this so that it does not change the size of the viewport?

chrome glitch

+4
source share
3 answers

Click the small gear in the lower right corner, turn off "Device Metrics" on the "Overrides" tab.

+4
source

In the latest chrome builds, try clicking the "toolbar"

enter image description here

0
source

Add

<meta name="viewport" content="width=device-width, initial-scale=1"> 

so that the site manager gives you problems.

0
source

Source: https://habr.com/ru/post/1441750/


All Articles