-
Notifications
You must be signed in to change notification settings - Fork 970
Make tab close button respect tab's container #5480
Conversation
A bit worried this will break some tests at small window sizes |
which maybe travis has? |
hard to tell because our tests are so broken right now. |
I think a better way to solve this would be to consider the size of the tab itself
You can then solve the actual issue w/ Since I don't think this should be rushed and it's not critical for next release, I'm going to assign it to 0.12.10 |
PR updated |
Seems like an improvement but it doesn't get rid of the (x) and it makes the favicons get cut off when smaller. @bradleyrichter is this the way you want it? |
@bbondy no, they should actually end up looking like fat pinned tabs, and eventually the same, but of course in the main tab area. |
Fix #5431 Auditors: @bbondy, @bsclifton Note: Now at window's width < 770px (where our first text trim happens), close button is now centered filling 100% of tab's size. Test Plan: * Reduce window's width checking for close button on tabs * Close button should not overflow tab container on narrow views, avoiding UI mismatch * At < 770px close button should fill tab's container and be centered
Much better… Is it possible to have the close button appear on the right?
|
@bradleyrichter you mean something like this? If not, could you do a quick draft about how do you want it? |
Closing in favor of #5845 |
git rebase -i
to squash commits (if needed).Fix #5431
Auditors: @bbondy, @bsclifton
Note:
This change fixed the issue, but affected tab icons on small windows (now being overflowed in a different way). Doesn't look weird imo but can be improved per team's request.
Test Plan: