From cc29b63c8d2e8036980893267d6af5c6ece84bf2 Mon Sep 17 00:00:00 2001 From: cassowary Date: Mon, 27 Jul 2026 14:30:51 -0700 Subject: [PATCH] better commit table display on small screens --- static/gitweb-site.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/static/gitweb-site.css b/static/gitweb-site.css index 45682b7..fd3bd13 100644 --- a/static/gitweb-site.css +++ b/static/gitweb-site.css @@ -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%; + } + } +} -- 1.8.3.1