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

View File

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