Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドは閉じられました。 必要であれば新たに質問してください。

Prevent devtools from altering wiewport size

  • 1 件の返信
  • 0 人がこの問題に困っています
  • 5 回表示
  • 最後の返信者: 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?

すべての返信 (1)

more options