Images in READMEs will now autoscale to fit inside the corresponding README <div>.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 24 May 2021 00:34:28 +0000 (17:34 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 24 May 2021 00:34:28 +0000 (17:34 -0700)
static/gitweb.css

index 5b5451b..48cf972 100644 (file)
@@ -404,6 +404,11 @@ th .header {
   margin: 1em;
 }
 
   margin: 1em;
 }
 
+.readme img {
+  max-width: 100%;
+  max-height: auto;
+}
+
 .projects_list,
 .tags {
   width: 95%;
 .projects_list,
 .tags {
   width: 95%;