Repository: cordova-plugin-inappbrowser Updated Branches: refs/heads/master a77b289f0 -> 22d466a05
Size and position in browser platform CSS updated for iframe wrapper in browser platform. Styles and position of wrapper were dependent on parent element, global styles and other elements in body. Now the wrapper/iframe should always cover entire window. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/22d466a0 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/22d466a0 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/22d466a0 Branch: refs/heads/master Commit: 22d466a0504e5ddf6452672a61f4e9d5bc9e00d7 Parents: a77b289 Author: Pavel Kohoutek <[email protected]> Authored: Mon May 23 13:32:01 2016 +0200 Committer: daserge <[email protected]> Committed: Mon Aug 22 17:16:04 2016 +0300 ---------------------------------------------------------------------- src/browser/InAppBrowserProxy.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/22d466a0/src/browser/InAppBrowserProxy.js ---------------------------------------------------------------------- diff --git a/src/browser/InAppBrowserProxy.js b/src/browser/InAppBrowserProxy.js index 6dfdd1e..b9fc4b9 100644 --- a/src/browser/InAppBrowserProxy.js +++ b/src/browser/InAppBrowserProxy.js @@ -77,9 +77,12 @@ var IAB = { if (!browserWrap) { browserWrap = document.createElement("div"); browserWrap.style.position = "absolute"; + browserWrap.style.top = "0"; + browserWrap.style.left = "0"; + browserWrap.style.boxSizing = "border-box"; browserWrap.style.borderWidth = "40px"; - browserWrap.style.width = "calc(100% - 80px)"; - browserWrap.style.height = "calc(100% - 80px)"; + browserWrap.style.width = "100vw"; + browserWrap.style.height = "100vh"; browserWrap.style.borderStyle = "solid"; browserWrap.style.borderColor = "rgba(0,0,0,0.25)"; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
