From 5be243c1bc93821a85dd5d5318df426bdd0bbca8 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 25 Oct 2026 12:17:04 -1000 Subject: Drop the diffstat modes on phones The modes took a third of a phone's width, so longer paths broke at a hyphen or a slash. The tree listing already drops its mode column at that width, and the diff itself still names a mode that changed. --- assets/cgit.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/cgit.css b/assets/cgit.css index de794cb..954fafa 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -1392,6 +1392,10 @@ div#cgit table.ssdiff td.space { width: auto; } + div#cgit table.diffstat td.mode { + display: none; + } + div#cgit table.repolist { width: 100%; } -- cgit 2.9.2