add width to webview iframe (#15195)

This commit is contained in:
Adam Meyer 2018-10-16 20:33:31 -04:00 committed by Cheng Zhao
parent de1d24b616
commit d43ef97a7b

View file

@ -47,6 +47,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