diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
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.
Diffstat (limited to '')
| -rw-r--r-- | assets/cgit.css | 3 |
1 file changed, 3 insertions, 0 deletions
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%; } |
