Removed .frame(maxWidth: .infinity) from NativeWebView which was causing the content to be wider than the viewport. The NativeWebView now respects the parent container's width constraints set by .padding(.horizontal, 4).
Removed .frame(maxWidth: .infinity) from NativeWebView which was causing the content to be wider than the viewport. The NativeWebView now respects the parent container's width constraints set by .padding(.horizontal, 4).