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 <[email protected]>
Lars Hjemli 2007-05-16
parent 8f6f8c3 · commit d82c08a
-rw-r--r--cgit.css4
1 files 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;