|
cgit commit and diff code show tab size as 8, e.g., [this commit][1] and
[this diff][2] and [this diff][2]. I prefer tab size 4. So I looked at
/usr/share/webapps/cgit/cgit.css and changed accordingly. I also make
pre element more specific. Note in CSS, `#` is id selector, see [this
link][3]. `div pre` is descendant combinator, see [this link][4].
[1]:https://git.flylightning.xyz/fsh/commit/sh/news?id=b13a0c1b7b5d24a4c0790279e10c89f94253c6c6
[2]:https://git.flylightning.xyz/fsh/diff/sh/news?id=b13a0c1b7b5d24a4c0790279e10c89f94253c6c6
[3]:https://www.w3schools.com/css/css_selectors.asp
[4]:https://www.w3schools.com/css/css_combinators.asp
|