KamoCRM

Scroll wide email content inside shadow DOM, not outside

Fixkamo-internal
Ya
25 Aprili 2026, 21:37 UTC
Mwandishi
kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei