Author: Lars Hjemli <hjemli@gmail.com>
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>
cgit.css | 4 ++++
diff --git a/cgit.css b/cgit.css index 5cf8d15a70749b3bfa134f0f05fdd1c0caac10a8..6c7f9c35979629aec35682edbb46a9f017a8b8f1 100644 --- a/cgit.css +++ b/cgit.css @@ -266,6 +266,10 @@ font-size: 100%; border: none; } +table.diffstat td.mode { + white-space: nowrap; +} + table.diffstat td span.modechange { padding-left: 1em; color: red;