Enabled word wrapping in <code> blocks found in READMEs.
[gitweb-sgk] / static / gitweb.css
index 5b5451b..d001682 100644 (file)
@@ -398,12 +398,19 @@ 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 {
   margin: 1em;
 }
 
 }
 
 .readme blockquote {
   margin: 1em;
 }
 
+.readme img {
+  max-width: 100%;
+  max-height: auto;
+}
+
 .projects_list,
 .tags {
   width: 95%;
 .projects_list,
 .tags {
   width: 95%;