Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

First time using SASS

#sass/scss

@LeoSouzaNunes

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

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

Amon 2,560

@A-amon

Posted

Hello! To fix your issues, just remove align-items:center; from body element and set height:fit-content; on main element for mobile size using media queries. 😀

Marked as helpful

1

@LeoSouzaNunes

Posted

@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
Amon 2,560

@A-amon

Posted

@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

@LeoSouzaNunes

Posted

@A-amon I just checked here and that's right ahahahha no idea what's happening.

0
Amon 2,560

@A-amon

Posted

@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 GitHub
Discord logo

Join 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