From f23fa40a7bee4c0f13e02c1e36c5d0e59c7de45b Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Thu, 29 Jan 2026 20:30:52 +0100 Subject: cgit: css: make tables mobile-responsive --- config/services/git/web/cgit.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'config/services') diff --git a/config/services/git/web/cgit.css b/config/services/git/web/cgit.css index 2c58c1b..8461004 100644 --- a/config/services/git/web/cgit.css +++ b/config/services/git/web/cgit.css @@ -931,6 +931,20 @@ div#cgit table.ssdiff td.space div { white-space: nowrap; } + /* TABLES */ + div#cgit table.nowrap td { + white-space: normal; + } + div#cgit table.list td { + vertical-align: top; + } + div#cgit { + span.age-mins, span.age-hours, span.age-days, span.age-weeks, span.age-months, span.age-years { + white-space: nowrap; + } + } + + /* PANEL ALIGNMENT */ div#cgit div.cgit-panel { float: left; -- cgit v1.2.3