-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make the pager take full width #7066
Conversation
|
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.
Looks good, in stylistic terms I think making the blue indicator a little bit wider than the text would be nice
I'll get this in as is but can iterate |
Would it be desirable to remove the minimum width for Chinese characters? |
Worth a try, this should not cause any other issues. It seems that Korean and Hindi also have the same issue, as their words are quite short. Perhaps we should reconsider the minimum width for this layout? |
Maybe instead of minimum width we could do something else in styling? The intention is to avoid the line being too short when it’s just a few items, like “All” and “Mentions” making “All” very short. |
Fixed in #7095 |
* Wide tabs for web * Wide tabs on mobile * Tweak min for profile * Driveby border fix * Fix single tab indicator
This changes the pager to always fill the entire screen width by spacing out the items. If there are many items (more than a screen's worth), then they are placed like before.
Easier to understand from a demo:
ios.mov
Test Plan
Try these on iOS, Android, and web.
Centered item looks a bit weird when there's a single tab but the only case of that is being solved by #7056.