Skip to content

Commit

Permalink
add width to webview iframe (#15204)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and Cheng Zhao committed Oct 17, 2018
1 parent 6f54d58 commit 12f7583
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/renderer/web-view/web-view.js
Expand Up @@ -62,6 +62,7 @@ class WebViewImpl {
createInternalElement () {
const iframeElement = document.createElement('iframe')
iframeElement.style.flex = '1 1 auto'
iframeElement.style.width = '100%'
iframeElement.style.border = '0'
v8Util.setHiddenValue(iframeElement, 'internal', this)
return iframeElement
Expand Down

0 comments on commit 12f7583

Please sign in to comment.