the repository which powers this website
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 <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
John Keeping 2022-12-19
parent c1a1d23 · commit d071f28
-rw-r--r--cgit.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index dfa144d0..1b848cf7 100644
--- a/cgit.css
+++ b/cgit.css
@@ -363,6 +363,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: 0.5em;
border: solid 1px black;