Design comparison
Solution retrospective
Hello everyone, I would like to receive some feedback about an issue occurred with my mobile content height, for some reason that I completely don't understand it doesn't let me scroll vertically as it suppose to do. Can anyone help me to understand what happened? (I had tried some things as overflow-y or even set a fixed height but nothing happened with the first hidden card)
Community feedback
- @A-amonPosted almost 3 years ago
Hello! To fix your issues, just remove
align-items:center;
frombody
element and setheight:fit-content;
onmain
element for mobile size using media queries. 😀Marked as helpful1@LeoSouzaNunesPosted almost 3 years ago@A-amon Thank you for your feedback, it's working. Is there any specific case that you would recommend to apply height: fit-content?
0@A-amonPosted almost 3 years ago@LeoSouzaNunes Mhm seems like the height:fit-content doesn't play any role when I checked again 🤔 Hmm.. can't really think of one right now somehow 😂
0@LeoSouzaNunesPosted almost 3 years ago@A-amon I just checked here and that's right ahahahha no idea what's happening.
0@A-amonPosted almost 3 years ago@LeoSouzaNunes It really makes me wonder why I suggested that earlier. A mistake on my part, I guess 😂
0
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