Removing new tab button
-
-
@fifonik I have my tabs vertically, and when I hover over a tab I get the
X
to close the tab.With your code I don't get the cross anymore.
-
@Granite1 said in Removing new tab button:
I have my tabs vertically, and when I hover over a tab I get the X to close the tab.
Maybe you have under „Tab Display“ the „Show Close Button“ ticked off. You should tick it on in your case.
-
Maybe you have under „Tab Display“ the „Show Close Button“ ticked off. You should tick it on in your case.
I have always had it on, so there must be something else that is interfering.
I am on Linux and wonder if that could make a difference. What OS are you on, if I may ask?Oops, I just noticed you are on macOS. Maybe that makes a difference?
Then again, you also use Linux on an older machine? Does the code there leave the cross?
-
@Granite1 said in Removing new tab button:
you also use Linux on an older machine? Does the code there leave the cross?
Yes, with Tabs on the left, Vertical Tabs. On MacOS without Close Button; Vertical Tabs.
-
Yes, with Tabs on the left, Vertical Tabs. On MacOS without Close Button; Vertical Tabs.
OK, good to know. I have spent all day today modding Vivaldi, so perhaps 1 of the mods are causing it. I'll try to trace it.
Many thanks for your help and useful input.
-
@Thot just a last reply to inform you I found the culprit. It occurred to me, for no good reason because I was busy doing other things, that it might be the theme.
It was. I briefly used a different theme and the issue was gone.
Cheers, and have a good weekend, what's left of it.
-
@Granite1 said in Removing new tab button:
Cheers, and have a good weekend, what's left of it.
I wish you a nice rest of your weekend too. Good to know that it’s fixed.
-
@fifonik leaving scrolling aside, if one just wants to get rid of the new tab button, this will suffice:
.newtab {display: none;}
. -
@Granite1 I do not know what you meant as 'leaving scrolling aside'.
My mod is not touching scrolling, it is removing 'add new tab' button from tab bar with its space. I do not see a reason to remove only the button itself as I believe that having some additional room for tabs is the main purpose of the mod. -
I do not know what you meant as 'leaving scrolling aside'.
You stated:
my tabs are displayed in one line without scrolling so I do not know if this solution work with scrolling or with multi-lines tab bar.
I don't know what scrolling means in your context, but since you mention scrolling I referred to it.
You also stated:
I do not see a reason to remove only the button itself as I believe that having some additional room for tabs is the main purpose of the mod.
What do you mean by "additional room? It is always possible to add a new tab as the button will just be pushed down each time.
-
@Granite1 There is a picture in my original post. You can see one line of tabs there and no scolling. You can also notice there is no gap between last tab and rubbish bin. It will be a space there if you simply hide the .newtab element.
-
@fifonik :
There is a picture in my original post.
I don't know what you mean by your original post, because this one you refer to above does not have a picture either.
Don't worry, in my mind I can see what you mean.
Your objective to allow create more space to show more tabs seems somewhat overdone: getting rid of the Trash can will only create an extra space for 1 tab, AFAICT.
IMO that is not much of a gain. If I am wrong, please tell me how many extra tabs you will be able to display without having to scroll down.
-
You are right. Not much.
But at least something, but when only removing the plus-button there is zero benefits.