Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Line-Height in Right Email Panel is now out of control

  • 4 replies
  • 1 has this problem
  • 10 views
  • Last reply by Marok

more options

Hi! Some days ago, on this PC, Thunderbird upgraded to 78.4.1 (32 bit). My OS is Windows7 (64 bit). From that moment, line-height in both panels went completely out of control, all the rows are so far apart that the number of messages displayed is really too low to be able to browse the mailbox and so Thunderbird became unusable. In the attached image, you can easily see the problem: on the top, a screenshot from my older PC, where Thunderbird didn't upgrade, and you can easily read sender and subject of the last 14 email, that's ok. On the bottom, a screenshot from this PC, with the upgraded version of Thunderbird, where you see the half of the email you were able before. I've just read some older answer to similar problems, and I discovered the possibility to write down a custom style sheet, that would be really wonderful... but I can't make it recognizable from Thunderbird in ANY way. Here what I did, step by step.

- I located the folder in which my Thunerbird data are saved: c:\Users\Marok\AppData\Roaming\Thunderbird\Profiles\7b1u5yeg.default\

- I created the Chrome folder (as suggested in some article): c:\Users\Marok\AppData\Roaming\Thunderbird\Profiles\7b1u5yeg.default\chrome\

- I created a custom css file: c:\Users\Marok\AppData\Roaming\Thunderbird\Profiles\7b1u5yeg.default\chrome\userChrome.css

- I added at the beginning of the file this code: /*

* Do not remove the @namespace line -- it's required for correct functioning
*/

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

- Finally, I wrote down an horrible test, just to see if Thunderbird loads the file:

  • {background:purple !important; font-size:36px !important}

Sadly, nothing happens. Is there something I can do? Thanks a lot everyone!

Hi! Some days ago, on this PC, Thunderbird upgraded to 78.4.1 (32 bit). My OS is Windows7 (64 bit). From that moment, line-height in both panels went completely out of control, all the rows are so far apart that the number of messages displayed is really too low to be able to browse the mailbox and so Thunderbird became unusable. In the attached image, you can easily see the problem: on the top, a screenshot from my older PC, where Thunderbird didn't upgrade, and you can easily read sender and subject of the last 14 email, that's ok. On the bottom, a screenshot from this PC, with the upgraded version of Thunderbird, where you see the half of the email you were able before. I've just read some older answer to similar problems, and I discovered the possibility to write down a custom style sheet, that would be really wonderful... but I can't make it recognizable from Thunderbird in ANY way. Here what I did, step by step. - I located the folder in which my Thunerbird data are saved: c:\Users\Marok\AppData\Roaming\Thunderbird\Profiles\7b1u5yeg.default\ - I created the Chrome folder (as suggested in some article): c:\Users\Marok\AppData\Roaming\Thunderbird\Profiles\7b1u5yeg.default\chrome\ - I created a custom css file: c:\Users\Marok\AppData\Roaming\Thunderbird\Profiles\7b1u5yeg.default\chrome\userChrome.css - I added at the beginning of the file this code: /* * Do not remove the @namespace line -- it's required for correct functioning */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ - Finally, I wrote down an horrible test, just to see if Thunderbird loads the file: * {background:purple !important; font-size:36px !important} Sadly, nothing happens. Is there something I can do? Thanks a lot everyone!
Attached screenshots

Chosen solution

Follow these instructions in the cited link:

https://support.mozilla.org/en-US/questions/1310152#answer-1365539

The syntax has to be exact, e.g. there is no 'background' declaration - it's background-color. There are other explanations on this forum about how to use css, but there are a few common pitfalls. Check that the file type of the css file in Explorer is Cascading Style Sheet, not Text, and make sure the pref. in Config. editor is switched.

For the mouseOver problem: https://support.mozilla.org/en-US/questions/1312243

Read this answer in context 👍 0

All Replies (4)

more options

Line spacing for the Folder and Threads Panes is explained here:

https://support.mozilla.org/en-US/questions/1310152

more options

Hi, thanks for your answer! in the past few days, I have read a considerable number of pages offering the same solution illustrated in your link, but they're useless to me, because my problem is upstream: userChrome.css is not read by Thunderbird, at all. That's why I tested with that code (* {background:purple}): if a command like that has no effect, the only possibility is that the whole file is ignored.

So, we only have 3 explanation for that: - syntax error in my code (that's why I posted it, however I just tried the other css code you linked me, with no effect). - wrong path of the file (this may happen, but I don't know where else I could move it...) - a bug that only affects this new release (today I've upgraded to 78.4.2 (32 bit), but problem persists).

There is a second minor bug too: onMouseOver, in the email list panel, subject of unread messages becomes white on white background, so it becomes invisible; however, that's not a big problem, if I can make Thunderbird read the css file, I will fix it by myself. Thanks a lot for your work!

more options

Chosen Solution

Follow these instructions in the cited link:

https://support.mozilla.org/en-US/questions/1310152#answer-1365539

The syntax has to be exact, e.g. there is no 'background' declaration - it's background-color. There are other explanations on this forum about how to use css, but there are a few common pitfalls. Check that the file type of the css file in Explorer is Cascading Style Sheet, not Text, and make sure the pref. in Config. editor is switched.

For the mouseOver problem: https://support.mozilla.org/en-US/questions/1312243

more options

Thanks a lot!!! Reading the new link, I've finally found how to solve the problem! To help all readers, I summarize the correct procedure in a clearer way:

In Thunderbird, select "options", than "indexing", than "config editor" (tipically is on the bottom of the page). In config editor, look for this string: toolkit.legacyUserProfileCustomizations.stylesheets If it's false (default), change in into "true".

Now, if the userChrome.css file is in the correct place, Thunderbird can read it!!!

Only one note for you: there IS 'background' declaration, you don't need "background-color", "background:#ffffff" it's standard syntax and it works! Now everything is fine on my Thunderbird, I'm so happy!

Thanks again for your excellent work, you're really great!!!