diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Stat oversized diffs instead of inlining them
Diffstat (limited to 'assets/cgit.css')
-rw-r--r--assets/cgit.css10
1 file changed, 10 insertions, 0 deletions
diff --git a/assets/cgit.css b/assets/cgit.css
index b55f002..7f7535d 100644
--- a/assets/cgit.css
+++ b/assets/cgit.css
@@ -1013,6 +1013,16 @@ div#cgit table.diff td div.del {
color: var(--del);
}
+/* Notice shown in place of a diff that exceeds max-diff-lines or
+ * max-diff-files, pointing at the page that renders it in full. */
+div#cgit div.truncated,
+div#cgit table.ssdiff td.truncated {
+ color: var(--muted);
+ font-family: var(--font-sans);
+ white-space: normal;
+ padding: 0.4em 0;
+}
+
div#cgit .oid {
font-family: var(--font-mono);
font-size: 90%;