Change the density of message list in 115 (in correct way?)
I would like to change the density for the messages list (thread row) and provide a custom value there. e.g. 40px;
In many places, people are showing a solution such as:
``` tr[is="thread-row"] {
height: 40px !important;
} ```
But it doesn't work properly. When there are a lot of messages and you start scrolling, then the scroll stops working properly, you can't select messages, the whole thing goes crazy. This is the case on Windows, perhaps on Linux there is not this problem (I do not know).
I tried to use `line-height` instead of `height`, unfortunately the problem still occurs.
I see that I am not the only one who has this problem: - https://www.reddit.com/r/Thunderbird/comments/15conez/comment/k0gi9tl/?utm_source=share&utm_medium=web2x&context=3 - https://support.mozilla.org/en-US/questions/1423577#answer-1608118
Do you know the correct way to change this value?
All Replies (3)
What is the hardware acceleration setting in Settings/General? If it's enabled, disable it, restart TB, test scrolling.
It's disable:
- https://i.imgur.com/8Ijy02i.png - https://i.imgur.com/nf1QkgF.png
Additional info:
It looks like the TB is keep or count the original height somewhere. Then when I scroll, this value is converted incorrectly. That's my theory.
If I change `thread-row`using JS, eg.:
``` window.addEventListener("DOMContentLoaded", onLoad); function onLoad() {
window.gTabmail.currentAbout3Pane.customElements.get("thread-row").ROW_HEIGHT = 40;
} ```
all works fine.
But I prefer to change such things using CSS. A safer way. So I'm still looking for a solution
When I use this css:
/* threads pane row height */ tr[is="thread-row"] { line-height: 40px !important; }
scrolling is somewhat erratic when the Density is Compact, but becomes more stable with Density as Default and more stable with Density as Relaxed. Advice is to choose a line-height and Density combination that is visually acceptable without being unstable.