Closed Bug 1820262 Opened 2 years ago Closed 2 years ago

Use the `env(scrollbar-inline-size)` to add padding end to the column picker

Categories

(Thunderbird :: Folder and Message Lists, enhancement)

Thunderbird 112
enhancement

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
112 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: aleca, Assigned: aleca)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Supernova3p])

Attachments

(2 files)

Since the entire tree list container is scrollable and the table header is in a sticky position, the scrollbar goes on top of it.
This is a bit annoying when the OS scrollbar has a "floating" style and it's selected, which ends up covering a good part of the column picker button when selected.

We should add a padding at the end of the column picker button based on an environmental variable detecting the width of the expanded OS scrollbar.
E.g.: padding-inline-end: env(scrollbar-inline-size);

Attachment #9321107 - Attachment description: Bug 1820262 - Use the nv(scrollbar-inline-size) to add padding end to the column picker. r=emilio → Bug 1820262 - Use the env(scrollbar-inline-size) to add padding end to the column picker. r=emilio
Depends on: 1820280

This is how it looks in TB 102, which seems space-efficient and orderly. Are we able to restore that here?

Severity: -- → S4
Whiteboard: [supernova]

(In reply to Thomas D. (:thomas8) from comment #2)

This is how it looks in TB 102, which seems space-efficient and orderly. Are we able to restore that here?

This bug and patch are specific for the overlay scrollbar.
We're not changing anything for those OSs that have "Always show scrollbars" enabled.

Attachment #9321107 - Attachment description: Bug 1820262 - Use the env(scrollbar-inline-size) to add padding end to the column picker. r=emilio → Bug 1820262 - Use the env(scrollbar-inline-size) to add padding end to the column picker. r=#thunderbird-front-end-reviewers,emilio
Target Milestone: --- → 112 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4b7729eea06b
Use the env(scrollbar-inline-size) to add padding end to the column picker. r=emilio

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Whiteboard: [supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: