fix: use flexbox to style webview (#14400)
* fix: use flexbox to style webview * docs: remove notes on browserplugin based webview
This commit is contained in:
parent
dac435b411
commit
0ecea96048
2 changed files with 4 additions and 24 deletions
|
@ -61,8 +61,7 @@ class WebViewImpl {
|
|||
|
||||
createInternalElement () {
|
||||
const iframeElement = document.createElement('iframe')
|
||||
iframeElement.style.width = '100%'
|
||||
iframeElement.style.height = '100%'
|
||||
iframeElement.style.flex = '1 1 auto'
|
||||
iframeElement.style.border = '0'
|
||||
v8Util.setHiddenValue(iframeElement, 'internal', this)
|
||||
return iframeElement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue