File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,13 @@ export class BlocklyLayout extends SplitLayout {
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
}
Original file line number Diff line number Diff line change 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
+ }
You can’t perform that action at this time.
0 commit comments