poli0981 00afad5fb2 fix(csp): stop inlining stylesheets so soft navigation stops breaking
A meta CSP applies at parse time and a ClientRouter swap does not reparse,
so the policy in force stays the origin page's. Any style only some pages
carry is refused on arrival from a page that lacked it.

/apps alone carried ShAppCard's scoped CSS, so soft-navigating there from a
detail page dropped the stretched-link ::after (the whole-card click target)
and unhid .sr-only text.

build.inlineStylesheets: 'never' ends the category — external stylesheets
need no hash under style-src 'self'. check:styles now fails on any style
only some pages allow.

Verified on the built output: zero violations across seven navigations.
2026-07-30 16:28:14 +07:00
2026-07-27 22:11:33 +07:00
2026-07-27 22:11:33 +07:00
2026-07-27 21:08:14 +07:00
S
Description
No description provided
GPL-3.0
2.3 MiB
0 Stars 1 Watchers 0 Forks
2026-11-24 06:53:53 +00:00
Languages
TypeScript 55.1%
Astro 21.2%
JavaScript 14.1%
Svelte 6.4%
CSS 3.2%