PX w React różni się od pliku HTML

Are you sure you haven't "zoomed in or zoomed out" to the page?

Press cmd+0 on windows to make sure you are at 100% zoom level
Zarden