From 7491c424a00f0824f1d45b33d3b3f55fb0a7c4d8 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 20:50:17 +0800 Subject: repo_commit: Show chunks --- static/style.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index af5a9b3..e37ad0d 100644 --- a/static/style.css +++ b/static/style.css @@ -88,7 +88,7 @@ td#readme > *:first-child { .commit-id { font-family: monospace; } -pre, .scroll { +.scroll { overflow-x: auto; } .toggle-table-off, .toggle-table-on { @@ -112,3 +112,15 @@ pre, .scroll { .toggle-table-on:checked + table > tbody { display: table-row-group; } +.chunk-unchanged { + color: grey; +} +.chunk-addition { + color: green; +} +.chunk-deletion { + color: red; +} +.chunk-unknown { + color: yellow; +} -- cgit v1.2.3