My media query seems to be behaving oddly.
@media only screen and (max-width: 1200px) {
.tool-panel {
margin: 0px 24px 0px 0px;
}
}
It is getting applied at 1183.20px
instead of 1200px
. This discrepancy is consistent across all browsers even when their zoom levels are set to 100%.
The non-integer width is quite unusual for me, as I have always worked with whole numbers while debugging in a browser.
https://i.sstatic.net/avleW.png
Interestingly, the value of window.innerWidth
in the console shows 1200
despite the browser displaying the width as 1183.20px
.