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

Scrolling for pinned tabs with a title #1941

Open
ongots opened this issue Dec 31, 2024 · 0 comments
Open

Scrolling for pinned tabs with a title #1941

ongots opened this issue Dec 31, 2024 · 0 comments

Comments

@ongots
Copy link

ongots commented Dec 31, 2024

Description

Add an option for the maximum number of tabs before scrolling appears (8 by default), or the ability to move the divider.

I have 21 pinned tabs and without scrolling they take up half the panel.

CSS that does what I want:

    /*   Scrolling pinned tabs   */
#root:is([data-pinned-tabs-position="top"], [data-pinned-tabs-position="panel"])[data-pinned-tabs-list="true"] .PinnedTabsBar:has(:nth-child(9)) { 
  height: calc(var(--tabs-height) * 11.3);
  overflow-y: auto;
  margin-bottom: 2px !important;
  padding: 0 !important}

#root:is([data-pinned-tabs-position="top"], [data-pinned-tabs-position="panel"])[data-pinned-tabs-list="true"] .PinnedTabsBar::after {
  position: sticky;
  bottom: 0 !important}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant