diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/cgit/default.nix | 1 | ||||
-rw-r--r-- | third_party/cgit/tvl-extra.css | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix index b566e41c332f..e108bb1d7d80 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 000000000000..f174b2c03fd3 --- /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; +} |