diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Do not wrap filemode column in diffstat table
The diffstat looks rather ugly when the filemode is wrapped to one char per line, so lets force it to not wrap. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css4
1 file changed, 4 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 5cf8d15..6c7f9c3 100644
--- a/cgit.css
+++ b/cgit.css
@@ -266,6 +266,10 @@ table.diffstat td {
border: none;
}
+table.diffstat td.mode {
+ white-space: nowrap;
+}
+
table.diffstat td span.modechange {
padding-left: 1em;
color: red;