-
Notifications
You must be signed in to change notification settings - Fork 280
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
Change position of new tab button #1376
Comments
I think you can do these customization via user defined CSS. For example:
#all-tabs { order: 1000; } or .newtab-button-box {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 20px;
}
#tabbar {
top: 20px !important;
}
.tab.pinned {
margin-top: 20px;
}
#tabbar.overflow .after-tabs {
display: block;
}
#tabbar.overflow ~ .after-tabs {
display: none;
} |
If you have more ideas, please share them as code snippets. |
Thanks, these mostly work but have some bugs. For example when set to the top edge, there remains a blank space at the bottom when there's many tabs. And when set to the bottom edge, the new tab disappears when there's few tabs. If I have anything to add I'll definitely share it though. :) |
How about this?
|
I think that's how TST's new tab button works by default. I was thinking of an option for always sticking to the bottom edge. |
Oh, I see. |
I'm currently using this to make the new tab button stay at the bottom of the window:
I've only tested this for a couple of minutes as it currently seems enough for my needs (I'm in the process of migrating to the new TST, so trying to smooth some of the rougher edges quickly), so it may not possibly work in every use case, but so far it behaved as expected. |
@spash that is a nice solution. Please be sure to add it to the wiki! |
@irvinm The description claims to be doing the same but it behaves differently - the "new tab" button disappears when tabs don't fill the entire height of the window. I'd say that doesn't quite fit the description, but I'm not sure if there isn't something else I'm missing. |
I close this because it is possible with custom stylesheets. |
I was wondering if there's a CSS trick or separate option to control the position of the new tab button (i.e. top or bottom of sidebar, after last tab only, or disabled etc.)
The text was updated successfully, but these errors were encountered: