@NatureSon22
Posted
On smaller screen sizes, the layout collapses. Try setting the <body> element to have min-height: 100vh, which ensures the body takes up at least the full height of the viewport. Additionally, set the <main> element to have a max-width instead of a fixed width. This allows the main content to adjust within the maximum limit making it more responsive to varying screen sizes.
Marked as helpful
@atheenaoteyza
Posted
@NatureSon22 hey thanks for the advise did it already and thanks for noticing! I updated the height beforehand then forgot about checking the mobile view haha