From 7e973f591bdf58c88a6f9956e57f527d14371ad4 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 24 Oct 2026 16:08:59 -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(+) (limited to 'assets') 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.12.1