From 29b7574b8605f048ada17ac129106213a75cce2f Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Sat, 9 Nov 2024 22:43:58 +0100 Subject: [PATCH] akkoma: Limit banner image width --- config/services/akkoma/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/services/akkoma/default.nix b/config/services/akkoma/default.nix index 7f7b4fa..ff1a6f4 100644 --- a/config/services/akkoma/default.nix +++ b/config/services/akkoma/default.nix @@ -26,6 +26,10 @@ extraStatic."static/themes/elly-mod.json" = pkgs.writeText "elly-mod.json" (builtins.readFile ./elly-mod.json); + extraStatic."static/custom.css" = pkgs.writeText "custom.css" '' + .tos-content img { max-width: 100%; } + ''; + extraStatic."static/terms-of-service.html" = inputs.florp-about.packages.${pkgs.system}.default; extraStatic."images/sylvia-ritter-15012323.avif" = inputs.florp-branding.packages.${pkgs.system}.wallpaper; extraStatic."images/florp_banner.avif" = inputs.florp-branding.packages.${pkgs.system}.banner;