When I open an html file directly from the folder it is located locally in, I get a viewport with width as 1366px - which also is the width of my screen. But when I run the same file from http server it automatically reduces the width of viewport to 1226px - 1241px. Doesn't matter what content I have on the page and how much, it always reduces the vw.
The meta tags that I am using are -
<meta charset="utf-8" /> &
<meta name="viewport" content="width=device-width, initial-scale=1" />
Any idea why this happens and how to fix this?
EDIT - The difference is because default zoom level for local server is not 100% but a little more.
Thanks !!