Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent content from intruding into sidebar #1010

Merged
merged 1 commit into from
Feb 28, 2018

Conversation

chihuahua
Copy link
Member

@chihuahua chihuahua commented Feb 28, 2018

Within small viewports, main content had been overlapping with the
sidebar.

image

This change fixes that by removing a min-width specification on the
wrong container and placing it on the right one. Changed that min width
to 270px (from 350px). Any lower, and buttons overflow to the next line.

New behavior:

image

Within small viewports, main content had been overlapping with the
sidebar. This change fixes that by removing a `min-width`
specification on the wrong container and placing it on the right one.
Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! I can see why that was confusing, it's pretty weird to have both a class and an ID named "sidebar". I think <content> is deprecated anyway so hopefully we can fix the names when we migrate away from it.

@chihuahua
Copy link
Member Author

Yeah, having 2 containers named sidebar (one in the other) is indeed confusing.

@chihuahua chihuahua merged commit 5d0c749 into tensorflow:master Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants