by rwiggins · 2y ago · 0 comments
The weird thing is both are controlled by a single CSS rule,
div#cgit pre {
font-family: "Source Code Pro", "Courier New", monospace;
}
(Changing to just `monospace` fixes it.)I'm not sure how two elements could have different fonts with that. I'm possibly missing something obscure, but it really feels like a browser bug.
div#cgit pre, div#cgit code { ... }
(The buggy CSS is not present in the the official cgit repository, so I assume the owner of kernel.dk is running a patched version of cgit.)