better commit table display on small screens
authorcassowary <cassowary@cassowary.me>
Mon, 27 Jul 2026 21:30:51 +0000 (14:30 -0700)
committercassowary <cassowary@cassowary.me>
Mon, 27 Jul 2026 21:30:51 +0000 (14:30 -0700)
static/gitweb-site.css

index 45682b7..fd3bd13 100644 (file)
@@ -39,3 +39,27 @@ table.project_list,
 div.page_body {
   flex: 1 0 auto;
 }
+
+table.shortlog {
+  tr {
+    display: flex;
+    flex-direction: row;
+    flex-wrap: wrap;
+
+    td:nth-child(1) {
+      flex: 1 0 25%;
+    }
+
+    td:nth-child(2) {
+      flex: 1 0 75%;
+    }
+
+    td:nth-child(3) {
+      flex: 1 0 100%;
+    }
+
+    td:nth-child(4) {
+      flex: 1 0 100%;
+    }
+  }
+}