Force shadow host containment with inline styles + contain: layout

Fixkamo-internal
Shipped
25 Aprili 2026, 21:46 UTC
Author
kamo
Commit
27dd0ae

Class-based overflow-x-auto on the shadow host wasn't reliably winning against the shadow ':host { all: initial }' reset, so wide email content (fixed-width tables) was visually painting past the host's layout box and causing the 3-column-wide horizontal scrollbar. Switch to inline styles (highest author cascade) with explicit width: 100% (not auto) so intrinsic shadow content can't expand the host, and add contain: layout to fully isolate shadow tree layout from the light DOM. The host now reliably acts as a fixed-width scroll container for wide email bodies.

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