mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Merge pull request #831 from lifeinchords/block-drag-fix--gh814
Fixed blocks dragging under toolbox
This commit is contained in:
commit
d077260c59
1 changed files with 2 additions and 2 deletions
|
@ -233,7 +233,7 @@ Blockly.Css.CONTENT = [
|
|||
'right: 0;',
|
||||
'bottom: 0;',
|
||||
'overflow: visible !important;',
|
||||
'z-index: 50;', /* Display below toolbox, but above everything else. */
|
||||
'z-index: 50;', /* Display above the toolbox */
|
||||
'}',
|
||||
|
||||
'.blocklyTooltipDiv {',
|
||||
|
@ -640,7 +640,7 @@ Blockly.Css.CONTENT = [
|
|||
'overflow-y: auto;',
|
||||
'position: absolute;',
|
||||
'font-family: "Helvetica Neue", Helvetica, sans-serif;',
|
||||
'z-index: 70;', /* so blocks go under toolbox when dragging */
|
||||
'z-index: 40;', /* so blocks go over toolbox when dragging */
|
||||
'}',
|
||||
|
||||
'.blocklyTreeRoot {',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue