From 443ec893ab98238a6327a40e61633a53ab95b86c Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 13 Feb 2022 15:35:29 +0000 Subject: css: reset font size for blame oid In Firefox, the hashes in the blame UI are out of step with the line number and content leading to ever increasing vertical misalignment. This is caused by the .oid class setting font-size to 90%, so override this back to 100% for the blame case, bringing the height of lines in all three columns of the table back into step. Signed-off-by: John Keeping Signed-off-by: Jason A. Donenfeld --- cgit.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cgit.css b/cgit.css index 8fb7278..7d76a48 100644 --- a/cgit.css +++ b/cgit.css @@ -351,6 +351,10 @@ div#cgit table.blame td.lines>div>pre { top: 0 } +div#cgit table.blame .oid { + font-size: 100%; +} + div#cgit table.bin-blob { margin-top: .5em; border: solid 1px #000 -- cgit v1.2.3-70-g09d2