Design comparison
Solution retrospective
Please help me with the way my page browsing, there is a problem with the display i can't figure it out... when i inspect the solution there won't be any problems
Community feedback
- @AStombaughPosted 5 months ago
On the
<body>
tag in your media query, I would remove theheight: 100vh;
or change it tomin-height: 100vh
as it's causing your content to be larger than the browser window, forcing me to scroll out to see the entire layout.0@MaxCoder-mcPosted 5 months agoThank you for your help, i did what you suggested, it is better but still there is something wrong @AStombaugh
0@AStombaughPosted 5 months ago@MaxCoder-mc It looks like you're just missing the
margin
on the<body>
tag if you want it to be centered in the middle of the page like the design file.Marked as helpful0@MaxCoder-mcPosted 5 months agoAdded margin-block: 7.937rem; to the main in the media query.
Thank you very much@AStombaugh
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord