Contain the height of the field dropdown to the window viewport height.

This commit is contained in:
carlosperate 2015-07-16 22:08:50 +01:00
parent f2c9c89dd3
commit 3cc4c4e141
3 changed files with 6 additions and 0 deletions
core

View file

@ -547,6 +547,9 @@ Blockly.Css.CONTENT = [
' outline: none;',
' padding: 4px 0;',
' position: absolute;',
' overflow-y: auto;',
' overflow-x: hidden;',
' max-height: 100%;',
' z-index: 20000;', /* Arbitrary, but some apps depend on it... */
'}',