From 77237f16821ca9403cfc8a7fcdddf129b23a363c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 25 Oct 2026 13:06:39 -1000 Subject: Fold a tag's signature away under its message The armour ran on for more lines than most tag messages, as part of the message itself. git finds the signature for every kind it can sign with, so PGP, SSH and X.509 all fold the same way. --- assets/cgit.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'assets/cgit.css') diff --git a/assets/cgit.css b/assets/cgit.css index 7a4472a..49b00ab 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -875,6 +875,21 @@ div#cgit table.commit-trailers { margin-top: 1em; } +div#cgit details.signature { + margin-top: 1em; +} + +div#cgit details.signature summary { + color: var(--muted); + cursor: pointer; +} + +div#cgit details.signature pre { + margin: 0.5em 0 0; + font-family: var(--font-mono); + overflow-x: auto; +} + div#cgit table.commit-trailers th { text-align: left; font-weight: normal; -- cgit 2.9.2