Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Tab Sort Order #202

Closed
laktak opened this issue Oct 17, 2017 · 11 comments
Closed

Tab Sort Order #202

laktak opened this issue Oct 17, 2017 · 11 comments

Comments

@laktak
Copy link

laktak commented Oct 17, 2017

I found the reversed tab order from TabCenter to be perfect.

Now that FF56 disabled TabCenter I came here looking for a replacement. Unfortunately I saw that you already closed #5 before I was aware of your extension.

Will you consider a PR for this feature?

@laktak
Copy link
Author

laktak commented Oct 17, 2017

OK, I found that you have a custom stylesheet option 👍

So far this appears to work really well and restores the "old" functionality:

#tablist {
    flex-direction: column-reverse;
    display: flex;
}

@eoger
Copy link
Owner

eoger commented Oct 17, 2017

Nice! Feel free to add it on the wiki

@Keith94
Copy link

Keith94 commented Oct 17, 2017

This trick works well for a small amount of tabs, but opening lots of tabs kinda breaks the sidebar (tabs height decreases and scrolling is impossible).

@laktak
Copy link
Author

laktak commented Oct 18, 2017

@Keith94 try:

#tablist {
    flex-direction: column-reverse;
    display: flex;
    flex: 0 0 auto;
}

@Keith94
Copy link

Keith94 commented Oct 18, 2017

Yep, that fixed it.

@Keith94
Copy link

Keith94 commented Oct 18, 2017

@laktak Would you happen to know if there's a way to hide the scroll bar?

@laktak
Copy link
Author

laktak commented Oct 18, 2017

I took a quick look but it appears that Mozilla obsoleted the css for that.

@laktak
Copy link
Author

laktak commented Oct 18, 2017

@eoger if you want this as as PR we still have to add support for pinned tabs (the are currently shown at the bottom).

Btw, could you include a direct link to the css wiki below the css options box (for easier copy & pasting)?

@cmmartti
Copy link

This will keep the pinned tabs at the top:

#tablist {
  flex-direction: column-reverse;
  display: flex;
  flex: 0 0 auto;
}
.tab.pinned {
  order: 1;
}

I also updated the wiki.

@sancho-82
Copy link

sancho-82 commented Oct 23, 2017

This has the side effect of Pinned Tabs scrolling with the rest, so they are pinned no more (checked on TCR 0.5.1, Ubuntu and win 7).

@eoger
Copy link
Owner

eoger commented Nov 14, 2017

Closing this, feel free to update the CSS tweak wiki page if you find enhancements.

@eoger eoger closed this as completed Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants