]> git.plutz.net Git - webtxt/commitdiff
keep text display within page
authorPaul Hänsch <paul@plutz.net>
Fri, 19 Mar 2021 15:04:45 +0000 (16:04 +0100)
committerPaul Hänsch <paul@plutz.net>
Fri, 19 Mar 2021 15:04:45 +0000 (16:04 +0100)
webnote.css

index eb2306d0860ec213eee4a70006fb06b37a08a69e..7d17f83c596d009f1759b49eaf0280d455d78ff9 100644 (file)
@@ -12,7 +12,8 @@ textarea {
 }
 
 div.text {
-  white-space: pre;
+  max-width: 100%;
+  white-space: pre-wrap;
 }
 
 form.new {