-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
I have a simple web application that I run using the Live Server extension.
When I run these commands in the inspector, I've noticed that the window.innerWidth and window.innerHeight parameters are much larger than expected:
- window.innerWidth: 4496px
- window.innerHeight: 3164px
When I deploy the same web application using GitHub Pages and check the same parameters, I get different values:
- window.innerWidth: 1920px
- window.innerHeight: 911px
I suspect this is a known bug, but I wanted to provide some actual data.
Problems
- I cannot use Live Server to develop my application because the view is not consistent with the deployed version on GitHub Pages.
- Scaling between different devices doesn't work correctly, causing elements to be either too small or too large.
Metadata
Metadata
Assignees
Labels
No labels