From c88e42a217fc846b8c9efcf501d9151f8afc8f73 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:19:16 -0700 Subject: Share the frame of the binary and stats tables --- assets/cgit.css | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'assets') diff --git a/assets/cgit.css b/assets/cgit.css index 25c906c..48dcd98 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -935,8 +935,8 @@ div#cgit table.blame .oid { font-size: 1em; } -div#cgit table.bin-blob { - margin-top: 0.5em; +div#cgit table.bin-blob, +div#cgit table.stats { border: solid 1px var(--border-mid); display: block; width: max-content; @@ -944,6 +944,10 @@ div#cgit table.bin-blob { overflow-x: auto; } +div#cgit table.bin-blob { + margin-top: 0.5em; +} + div#cgit table.bin-blob th { font-family: var(--font-mono); white-space: pre; @@ -1269,14 +1273,6 @@ div#cgit table.ssdiff td.space { height: 3em; } -div#cgit table.stats { - border: solid 1px var(--border-mid); - display: block; - width: max-content; - max-width: 100%; - overflow-x: auto; -} - div#cgit table.stats th { text-align: left; padding: 1px 0.5em; -- cgit