|
@@ -70,7 +70,7 @@ class NCViewerDocumentWeb: NSObject {
|
|
|
preferences.javaScriptEnabled = true
|
|
|
configuration.preferences = preferences
|
|
|
|
|
|
- let webView = WKWebView(frame: CGRect(x: 0, y: 0, width: Int(rootView.bounds.size.width), height: Int(rootView.bounds.size.height) - Int(k_detail_Toolbar_Height) - safeAreaBottom), configuration: configuration)
|
|
|
+ let webView = WKWebView(frame: CGRect(x: 0, y: 0, width: Int(rootView.bounds.size.width), height: Int(rootView.bounds.size.height) - Int(k_detail_Toolbar_Height) - safeAreaBottom - 1), configuration: configuration)
|
|
|
webView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
|
webView.backgroundColor = NCBrandColor.sharedInstance.backgroundView
|
|
|
webView.isOpaque = false
|