diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix index b566e41c3..e108bb1d7 100644 --- a/third_party/cgit/default.nix +++ b/third_party/cgit/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { rm -rf git # remove submodule dir ... cp -r --no-preserve=ownership,mode ${depot.third_party.git.src} git makeFlagsArray+=(prefix="$out" CGIT_SCRIPT_PATH="$out/cgit/") + cat tvl-extra.css >> cgit.css ''; meta = { diff --git a/third_party/cgit/tvl-extra.css b/third_party/cgit/tvl-extra.css new file mode 100644 index 000000000..f174b2c03 --- /dev/null +++ b/third_party/cgit/tvl-extra.css @@ -0,0 +1,4 @@ +/* limit the width of /about/** to help readability */ +.content #summary { + max-width: 800 px; +}