From 809a046537159b33af1b89fa9c11eee3e91e0428 Mon Sep 17 00:00:00 2001 From: cassowary Date: Mon, 27 Jul 2026 15:07:14 -0700 Subject: [PATCH] projects_list table better on small screens --- static/gitweb-site.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/static/gitweb-site.css b/static/gitweb-site.css index 5ecd43c..ca455c2 100644 --- a/static/gitweb-site.css +++ b/static/gitweb-site.css @@ -86,6 +86,39 @@ td.link { } } + table.project_list { + tr { + display: flex; + flex-direction: row; + flex-wrap: wrap; + + td:nth-child(1) { + /* ".git" name */ + flex: 0 0 auto; + order: 1; + } + + td:nth-child(2) { + /* description */ + flex: 1 0 100%; + order: 3; + } + + td:nth-child(3) { + /* last change */ + flex: 1 0 auto; + text-align: right; + order: 2; + } + + td:nth-child(4) { + /* links */ + flex: 1 0 100%; + order: 4; + } + } + } + div.search { display: flex; align-items: center; -- 1.8.3.1