Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Need to make pinned tabs wider FF 63.0.1 on Win10 laptop

  • 11 réponses
  • 1 a ce problème
  • 27 vues
  • Dernière réponse par cor-el

more options

I have RA with fine motor control problems.

At times I have difficulty in getting the cursor on the pinned tabs. I don't have problems seeing so don't need to zoom in to make everything larger, I just need wider pinned tabs.

I use FF 63.0.1 on my Win10 laptop and need to make the pinned tabs wider for ease of use.

I found information about making unpinned tabs wider in about:config but can't find anything for the pinned tabs.

Thank you for your time.

I have RA with fine motor control problems. At times I have difficulty in getting the cursor on the pinned tabs. I don't have problems seeing so don't need to zoom in to make everything larger, I just need wider pinned tabs. I use FF 63.0.1 on my Win10 laptop and need to make the pinned tabs wider for ease of use. I found information about making unpinned tabs wider in about:config but can't find anything for the pinned tabs. Thank you for your time.

Solution choisie

You can modify this variable.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

:root {--tab-min-width: 80px !important;}
Lire cette réponse dans son contexte 👍 1

Toutes les réponses (11)

more options

For what your asking your going to have to use something like user.Chrome css style but Mozilla here is just a end user help forum for the Browser so you will have to go to css sites to look for what your asking to do. The Browser comes standard install and any changes you make is the use of user.Chrome css edits to make those changes.

Modifié le par WestEnd

more options

Thank you for your response.

To clarify, user.Chrome css style works in Firefox?

I have never used it before and in the past, when I saw that term, always assumed it would be for the Chrome browser. lol

My mistake.

I guess I'll start here: https://www.userchrome.org/

Thank you again.

Modifié le par cadwellm

more options

Solution choisie

You can modify this variable.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

:root {--tab-min-width: 80px !important;}
more options

Cor-el this worked perfectly!

My hands and I thank you very, very much!!!

more options

You're welcome.

more options

cor-el said

You can modify this variable. Add code to the userChrome.css file below the default @namespace line.
<center>http://kb.mozillazine.org/userChrome.css</center>
 
:root {--tab-min-width: 80px !important;}
 

Is this for Pinned Tabs Only?

I have a Custom Width for regular Tabs in the About:Config.

Is there a Pinned Tab variable in About:Config, also?

What is the CSS for a regular Tab?


~Pj

more options

That --tab-min-width variable is for normal tabs to make it possible to set how much the tab can shrink when you keep opening more tabs. There is also this pref: browser.tabs.tabMinWidth that probably does the same. Pinned tabs have own their width setting and only show the favicon.

more options

cor-el said

That --tab-min-width variable is for normal tabs to make it possible to set how much the tab can shrink when you keep opening more tabs.

There is also this pref: browser.tabs.tabMinWidth that probably does the same.

Pinned tabs have own their width setting and only show the favicon.

Uh, the OP was talking about Pinned Tabs. So, the variable you posted is for 'Regular' Tabs?

I see regular Tabs Width adjustments in About:Config, but nothing with Pinned Tabs in there:

browser.tabs.tabMinWidth;100 (My Setting)

browser.tabs.tabClipWidth;140 (default)

I have a userChrome.css file. So, do you have something I can put in there for Pinned Tab Width Sizing?



~Pj

more options

Why would you increase the width of a pinned tab?

You would probably have to override a lot of CSS code to modify the appearance of pinned tabs.

more options

Why would you increase the width of a pinned tab?

Because I have rheumatoid arthritis, my fine motor control is getting worse, and it is becoming increasingly more difficult to get the mouse cursor to move where I want it to go. Larger tabs are easier to get the cursor onto.

If unpinned tabs can automatically change their size in regards to how many tabs there are then, ergo, the sizes of pinned tabs can also be changed.

My question is why isn't it easier to make these changes? Not everyone that uses Firefox has the same abilities. Simple settings changes should be available so people with disabilities can continue to use Firefox.

It almost feels as though Firefox doesn't want people with disabilities to use their browser nowadays. Unlike the old days where Firefox truly was adaptable and you could make it exactly the way you wanted.

more options

Try to add this code to userChrome.css to set the width of pinned tabs.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tabbrowser-tab[pinned] {width: 45px !important;}
.tab-label-container[pinned] {visibility: hidden !important;}

It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close and restart Firefox when you create or modify the userChrome.css file.

Modifié le par cor-el