From 592c0f8ffd92402e7d63b8414e9751e17bc86680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 26 Nov 2022 13:46:25 +0100 Subject: [PATCH] thurtle/notebook: Wrap output --- src/web/notebook/src/wafnb.css | 1 + src/web/thurtle/thurtle.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/web/notebook/src/wafnb.css b/src/web/notebook/src/wafnb.css index b8932e7..aea3fda 100644 --- a/src/web/notebook/src/wafnb.css +++ b/src/web/notebook/src/wafnb.css @@ -75,6 +75,7 @@ code.raw-code-cell { padding: 0.5em 1em; border-radius: 0.25em; margin: 0; + white-space: pre-wrap; } .code-cell .editor { diff --git a/src/web/thurtle/thurtle.css b/src/web/thurtle/thurtle.css index 38c5dda..c7ff1ba 100644 --- a/src/web/thurtle/thurtle.css +++ b/src/web/thurtle/thurtle.css @@ -39,7 +39,8 @@ .output { font-size: 0.75em; - overflow: auto; + overflow-y: auto; + white-space: pre-wrap; height: calc( 100vh - 438px ); /* hack because i can't figure out how to auto scale this */