diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
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.
-rw-r--r--assets/cgit.css4
1 file changed, 4 insertions, 0 deletions
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%;
}