aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorJohn Keeping2022-02-13 15:35:29 +0000
committerYigit Sever2023-07-21 03:03:50 +0300
commit443ec893ab98238a6327a40e61633a53ab95b86c (patch)
treeba8c490737a055c74bab57058143e712ebc8fd34 /cgit.css
parentbac1c93fc6783194ebdba868d6f5d27f0eb37ca4 (diff)
downloadcgit-443ec893ab98238a6327a40e61633a53ab95b86c.tar.gz
cgit-443ec893ab98238a6327a40e61633a53ab95b86c.tar.bz2
cgit-443ec893ab98238a6327a40e61633a53ab95b86c.zip
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>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css4
1 files changed, 4 insertions, 0 deletions
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 {
351 top: 0 351 top: 0
352} 352}
353 353
354div#cgit table.blame .oid {
355 font-size: 100%;
356}
357
354div#cgit table.bin-blob { 358div#cgit table.bin-blob {
355 margin-top: .5em; 359 margin-top: .5em;
356 border: solid 1px #000 360 border: solid 1px #000