From 9669f95a370e0858669e133cbaf55f5a3a5f5dea Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 25 Oct 2026 12:16:55 -1000 Subject: Pad the inside of the diffstat box The modes in the first column sat against the box's left border. A table with collapsed borders ignores its own padding, so the box now keeps its borders separate to take some. --- assets/cgit.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/cgit.css b/assets/cgit.css index de772e4..de794cb 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -923,6 +923,9 @@ div#cgit div.diffstat-header { div#cgit table.diffstat { border: solid 1px var(--border-mid); + border-collapse: separate; + border-spacing: 0; + padding: 0.3em 0.5em; background-color: var(--surface); max-width: 100%; } -- cgit 2.9.2