Merge pull request #1167 from mal/patch-1

Prevent overflow on webview with height: 100%
This commit is contained in:
Cheng Zhao 2015-02-27 15:30:17 -08:00
commit 54c948409e

View file

@ -186,6 +186,7 @@ registerBrowserPluginElement = ->
@setAttribute 'type', 'application/browser-plugin' @setAttribute 'type', 'application/browser-plugin'
@setAttribute 'id', 'browser-plugin-' + getNextId() @setAttribute 'id', 'browser-plugin-' + getNextId()
# The <object> node fills in the <webview> container. # The <object> node fills in the <webview> container.
@style.display = 'block'
@style.width = '100%' @style.width = '100%'
@style.height = '100%' @style.height = '100%'