Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Home page content overflowing container on window resize #2518
OS: Windows 10
When you resize the browser on the home screen with a width less than 765 pixels, the "Welcome video" and footer begin to overflow the content-wrapper.
Steps to reproduce
@marcobeltempo If you want to tackle this, please do! I welcome any and all changes that improve the layout of the site when the window gets narrower.
A simple fix would just be to make sure we don't have the weird empty white area on the right that you can scroll to. A few of the elements on the page seem to have minimum widths, but the main site wrapper (or maybe the body tag) don't. I bet we could slap a minimum width on the body to fix this. It wouldn't be great - but would be less broken.
A fancier fix would make it so that the homepage gracefully adapts to a narrower viewport. If we do this, we'd also want to tackle the other pages, so it's a bit more work. We could have the main normal layout, and then if the viewport shrinks to less than 1024 px or whatever, we just apply a new stylesheet that is for mobile devices.
I think a simple fix would be good for now.