A monorepo containing jupyter-blocks and jupyter-tidyblocks. Blockly extension for JupyterLab.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #68 from hbcarlos/scroll

Fixes the scroll behavior of the code cell

authored by

Carlos Herrero and committed by
GitHub
bd41065f eb3c9da5

+8
+4
packages/blockly/src/layout.ts
··· 47 47 rendermime 48 48 }); 49 49 // Trust the outputs and set the mimeType for the code 50 + this._cell.addClass('jp-blockly-codeCell'); 50 51 this._cell.readOnly = true; 51 52 this._cell.model.trusted = true; 52 53 this._cell.model.mimeType = this._manager.mimeType; 54 + // adding the style to the element as a quick fix 55 + // we should make it work with the css class 56 + this._cell.node.style.overflow = 'scroll'; 53 57 54 58 this._manager.changed.connect(this._onManagerChanged, this); 55 59 }
+4
packages/blockly/style/base.css
··· 9 9 .jp-blockly-runButton:hover { 10 10 background-color: var(--md-green-700); 11 11 } 12 + 13 + .jp-blockly-codeCell { 14 + overflow: scroll; 15 + }