Scroll wide email content inside shadow DOM, not outside

Fixkamo-internal
Shipped
25 Aprili 2026, 21:37 UTC
Author
kamo
Commit
5f7d33c

The previous attempts at adding overflow-x-auto to light DOM ancestors could not catch wide email content because the shadow tree's visual paint overflow does not contribute to the host's layout box. The host stayed at column width while wide tables painted past it, hitting the outer overflow-x-hidden and clipping with no scrollbar. Adding overflow-x: auto on the .email-content div *inside* the shadow CSS contains the overflow within the shadow DOM, so wide email tables scroll within the email body itself. The header remains static and unaffected.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei