add width to webview iframe (#15195)
This commit is contained in:
parent
de1d24b616
commit
d43ef97a7b
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class WebViewImpl {
|
||||||
createInternalElement () {
|
createInternalElement () {
|
||||||
const iframeElement = document.createElement('iframe')
|
const iframeElement = document.createElement('iframe')
|
||||||
iframeElement.style.flex = '1 1 auto'
|
iframeElement.style.flex = '1 1 auto'
|
||||||
|
iframeElement.style.width = '100%'
|
||||||
iframeElement.style.border = '0'
|
iframeElement.style.border = '0'
|
||||||
v8Util.setHiddenValue(iframeElement, 'internal', this)
|
v8Util.setHiddenValue(iframeElement, 'internal', this)
|
||||||
return iframeElement
|
return iframeElement
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue