File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1717CONTENT_DIR = "_contents"
1818JUPYTERLITE_DIR = "lite"
1919
20+ IFRAME_STYLE = "border-width: 1px; border-style: solid;"
21+
2022
2123# Used for nodes that do not need to be rendered
2224def skip (self , node ):
@@ -57,7 +59,7 @@ def html(self):
5759
5860 return (
5961 f'<iframe src="{ JUPYTERLITE_DIR } /repl/index.html?{ options } "'
60- f'width="{ width } " height="{ height } "></iframe>'
62+ f'width="{ width } " height="{ height } " style=" { IFRAME_STYLE } " ></iframe>'
6163 )
6264
6365
@@ -101,7 +103,7 @@ def html(self):
101103
102104 return (
103105 f'<iframe src="{ JUPYTERLITE_DIR } /retro/notebooks/?path={ notebook } "'
104- 'width="100%" height=1000px></iframe>'
106+ f 'width="100%" height=" 1000px" style=" { IFRAME_STYLE } " ></iframe>'
105107 )
106108
107109
You can’t perform that action at this time.
0 commit comments