Enabled word wrapping in <code> blocks found in READMEs.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Wed, 26 May 2021 07:53:24 +0000 (00:53 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Wed, 26 May 2021 07:53:24 +0000 (00:53 -0700)
static/gitweb.css

index 48cf972..d001682 100644 (file)
@@ -398,6 +398,8 @@ th .header {
 .readme tt, .readme code, .readme kbd, .readme samp {
   font-family: monospace;
   background-color: #eaeaea;
 .readme tt, .readme code, .readme kbd, .readme samp {
   font-family: monospace;
   background-color: #eaeaea;
+  white-space: pre-wrap;
+  word-break: keep-all;
 }
 
 .readme blockquote {
 }
 
 .readme blockquote {