add width to webview iframe (#15204)
This commit is contained in:
parent
6f54d58e2a
commit
12f75832b8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue