diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-03-05 05:59:16 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-03-05 05:59:16 +0000 |
commit | 373a8321f0a3b7cec933f9aa94dc153ad502f390 (patch) | |
tree | 020f65999fd2cabc7d388510edbf178cdab8d004 /home | |
parent | 2c9a8bfd155644c7e62943310003f3a61052b40b (diff) |
cgit tab size 4 for commit and diff code
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
Diffstat (limited to 'home')
0 files changed, 0 insertions, 0 deletions