Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Prevent devtools from altering wiewport size

  • 1 reply
  • 0 have this problem
  • 5 views
  • Last reply by next

more options

How can I prevent devtools from altering viewport size? Even if not visible it has a major impact when testing CSS especially if working with relative units.

For example I'm using vh units with devtools open and their value is reduced because devtools alter the viewport's height. Is there a setting or flag to prevent this?

How can I prevent devtools from altering viewport size? Even if not visible it has a major impact when testing CSS especially if working with relative units. For example I'm using vh units with devtools open and their value is reduced because devtools alter the viewport's height. Is there a setting or flag to prevent this?

All Replies (1)

more options