I have a very simple media query.
@media only screen and (max-width: 1200px) {
.tool-panel {
margin: 0px 24px 0px 0px;
}
}
which gets applied at 1183.20px
instead of 1200px
. This is occurring in every browser and all browsers have their zoom levels set to 100%.
Also, this non-integer width looks weird as I have always dealt with integral values before while debugging on a browser.
However, when I check the value of window.innerWidth
in the console, it comes out to be 1200
when the browser shows the width to be 1183.20px
.