We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Prevent devtools from altering wiewport size

  • 1 risposta
  • 0 hanno questo problema
  • 5 visualizzazioni
  • Ultima risposta di 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?

Tutte le risposte (1)

more options