summaryrefslogtreecommitdiff
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-16 03:30:57 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-16 03:30:57 +0200
commitd82c08a0446aa712a7d825e07f3d51796421b3a2 (patch)
treef023478d5fdd94861ce6186dc7f64ec9b40801be /cgit.c
parent8f6f8c3406ad069b37da7cb90462c1e61c991859 (diff)
downloadcgit-d82c08a0446aa712a7d825e07f3d51796421b3a2.tar.gz
cgit-d82c08a0446aa712a7d825e07f3d51796421b3a2.tar.bz2
cgit-d82c08a0446aa712a7d825e07f3d51796421b3a2.zip
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 '')
-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;