Update how pages fit in webview

Signed-off-by: yufan <yufan@visionet.com.cn>