From: cassowary Date: Mon, 27 Jul 2026 22:07:14 +0000 (-0700) Subject: projects_list table better on small screens X-Git-Url: https://git.cassowary.me/gitweb.cgi?a=commitdiff_plain;h=809a046537159b33af1b89fa9c11eee3e91e0428;p=gitweb-theme.git projects_list table better on small screens --- 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;