html – Weird white side bars on iPhone

Im new to html css development , when I try to test the site on my iphone 12 horizontally there are white side bars like the site doesnt exist there ,maybe because of the new phones cutted screens … , but it works fine vertically. (F12 mobile inspector works fine in horizontally mode).
Is there a way to full screen it?