Website Summary Files Commits Branches @commit @diff @stats
path: root / cgit.css
diff options
context:
space:
mode:
Commitd071f28cfa9a49f3aa6355b17e9d9fa7224ff49f (patch)
Author
 John Keeping <john@keeping.me.uk>
2022-02-13 15:35:29 +0000
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2022-12-19 16:13:58 +0100
Files545e8544d3c56a5d8c66d56bb72154075ed7faea /cgit.css
cgit-d071f28cfa9a49f3aa6355b17e9d9fa7224ff49f.tar
cgit-d071f28cfa9a49f3aa6355b17e9d9fa7224ff49f.tar.gz
cgit-d071f28cfa9a49f3aa6355b17e9d9fa7224ff49f.zip
Parentc1a1d23111b4918798f2605c33130f2ab71bbe7a (diff)
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 <john@keeping.me.uk> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 files changed, 4 insertions, 0 deletions
-rw-r--r--cgit.css4
diff --git a/cgit.css b/cgit.css
index dfa144d..1b848cf 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;