搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to change the line spacing of the folder pane for Thunderbird 78.3.1 (64-bit) on RedHat Enterprise Linux 7.

more options

I have been working with Thunderbird on Linux since ca. 20 years. A few days ago, after upgrading to version 78.3.1 (64-bit), I had for the first time the problem that the font size and spacing of the folder pane was so large that I could only see a small subset of my folders on my laptop screen. So I studied the online forums and found that one has to create a userChrome.css file in the right place and put a style sheet in it to control the font parameters. With the following entry

  1. folderTree > treechildren {
 font-size: 11pt !important;
 font-family: Verdana !important;

}

I managed to decrease the font size, BUT this did not decrease the line spacing! So now the font is smaller but the lines in the folder page still are so widely spaced that too little is visible in the pane. I experimented with settings like

 margin-top: 0px !important;
 margin-bottom: 0px !important;
 line-height: 1.0em !important;
 padding: -1px !important;

but none of them seem to have any effect.

What is the right parameter to change here and where is all this documented? (And why did this setting change in the first place after being perfectly fine for so many years?)

I have been working with Thunderbird on Linux since ca. 20 years. A few days ago, after upgrading to version 78.3.1 (64-bit), I had for the first time the problem that the font size and spacing of the folder pane was so large that I could only see a small subset of my folders on my laptop screen. So I studied the online forums and found that one has to create a userChrome.css file in the right place and put a style sheet in it to control the font parameters. With the following entry #folderTree > treechildren { font-size: 11pt !important; font-family: Verdana !important; } I managed to decrease the font size, BUT this did not decrease the line spacing! So now the font is smaller but the lines in the folder page still are so widely spaced that too little is visible in the pane. I experimented with settings like margin-top: 0px !important; margin-bottom: 0px !important; line-height: 1.0em !important; padding: -1px !important; but none of them seem to have any effect. What is the right parameter to change here and where is all this documented? (And why did this setting change in the first place after being perfectly fine for so many years?)

被選擇的解決方法

Try this:

#folderTree > treechildren::-moz-tree-row {
   height: 19px !important;
   min-height: 19px !important;
}

Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Config. editor.

從原來的回覆中察看解決方案 👍 4

所有回覆 (3)

more options

選擇的解決方法

Try this:

#folderTree > treechildren::-moz-tree-row {
   height: 19px !important;
   min-height: 19px !important;
}

Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Config. editor.

more options

You may find this useful where we've been going through this problem in both the folder and massage panes (it's mainly in Windows but should be the same for Linux) https://support.mozilla.org/en-US/questions/1307570

more options

Using Thunderbird 78.7.1 (64bit), 19px from sfhowes' solution produced default spacing; 17px is what I liked.