List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH] css: blame: reset font size for oid
@ 2022-02-13 15:35 John Keeping
  0 siblings, 0 replies; only message in thread
From: John Keeping @ 2022-02-13 15:35 UTC (permalink / raw)
  To: cgit; +Cc: John Keeping

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 <>
 cgit.css | 4 ++++
 1 file changed, 4 insertions(+)

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-13 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13 15:35 [PATCH] css: blame: reset font size for oid John Keeping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).