fix admin font loading and theme CSS cache miss bug

add system font stack to admin reset CSS so setup/admin pages render
sans-serif on all devices instead of falling through to browser default.
pass path_resolver to CSSGenerator.generate on cache miss paths so
font URLs resolve to digested paths in production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-02-20 18:39:41 +00:00
parent e5362d56fc
commit a78a1db847
6 changed files with 6 additions and 5 deletions

View File

@@ -138,7 +138,7 @@ defmodule BerrypodWeb.Admin.Providers.Form do
defp maybe_add_name(params, type, _result) do
provider = Provider.get(type)
Map.put_new(params, "name", provider && provider.name || type)
Map.put_new(params, "name", (provider && provider.name) || type)
end
defp encrypt_api_key(api_key) do