Ilyas Hallak
4c744e6d10
fix: Add comprehensive width constraints to NativeWebView CSS
Added multiple CSS rules to prevent content overflow:
Universal rules:
- * { max-width: 100%; box-sizing: border-box; }
HTML/Body:
- overflow-x: hidden on both html and body
- width: 100% to enforce viewport width
- word-wrap and overflow-wrap: break-word on body
Pre blocks:
- max-width: 100%
- white-space: pre-wrap (allows wrapping)
- word-wrap: break-word
Viewport meta:
- Added maximum-scale=1.0, user-scalable=no to prevent zooming issues
The native iOS 26+ WebView handles width differently than WKWebView,
requiring explicit overflow and width constraints in CSS.