-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fixed/Build from Source’ tab partially hidden in mobile view on Install page #2106 #2108
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
base: gh-pages
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,9 +42,11 @@ | |
|
|
||
| @media (max-width: $mobile-m) { | ||
| a[role="tab"] { | ||
| padding: .5rem; | ||
| padding: .5rem .25rem; | ||
| font-size: 0.75rem; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's arguable, but I think it's too small. I rather have you drop this line out. |
||
| line-height: 1.2em; | ||
| display: flex; | ||
| flex: 1; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kushkumarkashyap7280 This makes the tab buttons grow on semi-small screens:
vs the old
Is that intentional? On large'ish screen we always show tab buttons that fit the contentd;
Why have them grow on mobile? As far as I can tell, it has no effect on the issue you're trying to fix. |
||
|
|
||
| span { | ||
| margin: auto; | ||
|
|
||



There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change is all we need.
Until you want to take it one step further and support really narrow screens. But in that case I suggest we work on putting
flex-direction: columnon.install-tabs, so we have vertical tabs. But there's more work to be done to have it look nicely, because for example round corners aren't okay:(and it would also be better to not have "Install" and "Latest version" side-by-side.