thurtle/notebook: Wrap output

This commit is contained in:
Remko Tronçon 2022-11-26 13:46:25 +01:00
parent 78ca0bf8ec
commit 592c0f8ffd
2 changed files with 3 additions and 1 deletions

View file

@ -75,6 +75,7 @@ code.raw-code-cell {
padding: 0.5em 1em; padding: 0.5em 1em;
border-radius: 0.25em; border-radius: 0.25em;
margin: 0; margin: 0;
white-space: pre-wrap;
} }
.code-cell .editor { .code-cell .editor {

View file

@ -39,7 +39,8 @@
.output { .output {
font-size: 0.75em; font-size: 0.75em;
overflow: auto; overflow-y: auto;
white-space: pre-wrap;
height: calc( height: calc(
100vh - 438px 100vh - 438px
); /* hack because i can't figure out how to auto scale this */ ); /* hack because i can't figure out how to auto scale this */