Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Elias Sersun Uhalde
12,131 PointsFlexbox messes up in landscape mode
When I apply display: flex to my header and content and switch my phone to landscape mode it only covers 60% of the page horizontaly. Any idea why? I use chrome on my cellphone.
Darrell Conklin
22,377 PointsJust for your future reference, here is a good site to learn about the behavior of flexbox.
Darrell Conklin
22,377 PointsDarrell Conklin
22,377 Pointsmy guess would be that one of the containers has the width set to an absolute value but unless you actually post the markup and css guessing is all I can do.
EDIT: Also what is the "it" that you're referring to that only covers 60% of the screen?
EDIT: Are any flex properties set?