Dimension for mobile webbased app is different from iOS mobile frame in Figma

Hello fellow figma users,

I used Figma to create a mobile webpage design but I noticed every time when I “prototype” using the iphone 13 frame (my current phone) the demo is always actually much larger than my actual iphone. When I had a developer code my design, the finished product was too big compared to the one prototyped and I noticed it is the same size as the enlarged prototype on figma.

Anyone experienced this? Am I supposed to make my frame smaller when designing for non-native mobile applications? (like chrome or safari)