I just upgraded to the latest version of Chrome (49.0.2623.87). I'm noticing a slight feature missing.
If I was inspecting a page with the console open and I resized the browser, in the upper-right hand corner Chrome used to have a small indicator of what the browser viewport size was. That's now gone. How do I get it back?
Chrome. Using the Chrome browser, right click / control click anywhere inside your content area and select Inspect Element. In Chrome, right-click (or control + click) in the content area and choose "Inspect Element" to open the element inspector.
You have to right-click on the right of your tab and choose "size", then click on your window, and it should keep it as the default size.
Use window. innerWidth and window. innerHeight to get the current screen size of a page.
There is a button in the inspect element in Chrome to toggle device toolbar. Click it, and you are done. Show activity on this post. When you've opened the inspector, click on the kebab menu on the top right(three vertical dots), there select the doc size to "undock into separate window".
Temporary solution:
1- Right click on html
element in Developer Tools(Elements)
2- Click inside website window
Known bug, already fixed: https://bugs.chromium.org/p/chromium/issues/detail?id=582421
It should land in M50. If you need it sooner then it is currently in Canary (side-by-side with standard Chromes) or you can use the Dev channel of Chrome.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With