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.

Rohkem teavet

Prevent devtools from altering wiewport size

  • 1 vastus
  • 0 on selline probleem
  • 5 views
  • Viimati vastas 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