diff --git a/Easydict/Feature/ViewController/View/WordResultView/EZWordResultView.m b/Easydict/Feature/ViewController/View/WordResultView/EZWordResultView.m index 28eebcad7..490a7be54 100644 --- a/Easydict/Feature/ViewController/View/WordResultView/EZWordResultView.m +++ b/Easydict/Feature/ViewController/View/WordResultView/EZWordResultView.m @@ -938,7 +938,7 @@ - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigat CGFloat contentHeight = [result doubleValue]; NSLog(@"contentHeight: %.1f", contentHeight); - CGFloat maxHeight = EZLayoutManager.shared.screen.visibleFrame.size.height * 0.45; + CGFloat maxHeight = EZLayoutManager.shared.screen.visibleFrame.size.height * 0.5; // Fix strange white line CGFloat webViewHeight = ceil(MIN(maxHeight, contentHeight));