mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-13 06:29:31 -04:00
Temporary fix for page-breaking drop-downs (#495)
This commit is contained in:
parent
8f35b67ba1
commit
dd7f338c40
1 changed files with 6 additions and 1 deletions
|
@ -216,7 +216,7 @@ Blockly.Css.CONTENT = [
|
|||
'}',
|
||||
|
||||
'.blocklyDropDownDiv {',
|
||||
'position: absolute;',
|
||||
'position: fixed;',
|
||||
'left: 0;',
|
||||
'top: 0;',
|
||||
'z-index: 1000;',
|
||||
|
@ -228,6 +228,11 @@ Blockly.Css.CONTENT = [
|
|||
'-webkit-user-select: none;',
|
||||
'}',
|
||||
|
||||
'.blocklyDropDownContent {',
|
||||
'max-height: 300px;', // @todo: spec for maximum height.
|
||||
'overflow: auto;',
|
||||
'}',
|
||||
|
||||
'.blocklyDropDownArrow {',
|
||||
'position: absolute;',
|
||||
'left: 0;',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue