Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f902e4b2 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang
Browse files

Fix mobile sites' viewport in fixed viewport mode.

issue:3003933
Change-Id: I4d9665c578443fcc12bab2f929ffa8b5995c28f7
parent 61a6315e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1803,6 +1803,8 @@ final class WebViewCore {
                } else {
                    width = Math.max(w, mViewportWidth);
                }
            } else if (mSettings.getUseFixedViewport()) {
                width = mWebView.getViewWidth();
            } else {
                width = textwrapWidth;
            }