Design comparison
SolutionDesign
Solution retrospective
On the mobile version my component is larger than the viewport so it causes a scroll bar to appear and I don't know how to fix it.
Community feedback
- @cuonglyyPosted over 1 year ago
Hello there!
Congrats on finishing this project! Here are a couple of things I would recommend:
- Use
rem
orem
instead ofpx
for your values as they are scalable units that provide accessibility. - It seems like
min-height: 450px
in your.wrapper
class is causing your results component to add extra space at the bottom. - Since mobile design is a smaller view, resizing some components to a smaller size may help
- Keeping
display: grid
inbody
element for your mobile view can help center the component
Happy Coding! (-:
Marked as helpful0 - Use
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