From 7268d12a1717c42b59a52b9c7ee63e0ae02ef495 Mon Sep 17 00:00:00 2001 From: shankar0123 Date: Thu, 14 May 2026 20:40:55 +0000 Subject: [PATCH] =?UTF-8?q?feat(web):=20close=20FE-M6=20=E2=80=94=20migrat?= =?UTF-8?q?e=20static=20inline-style=20attrs=20to=20Tailwind=20+=20correct?= =?UTF-8?q?=20CSP=20rationale=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes frontend-design-audit finding FE-M6 (Med): CSP allows 'unsafe-inline' for `style-src` — necessary today because of inline SVG `style=` attrs (related to FE-H2) ═══════════════════════════ GROUND-TRUTH FINDINGS ═══════════════════ Ground-truth recon found 4 audit-framing errors: (1) The "17 inline-style tsx files" count was stale — actual is 9 (8 after excluding a Layout.tsx comment match the audit's grep counted). (2) The CSP rationale comment at securityheaders.go:35 LIED about WHY 'unsafe-inline' is needed. It claimed "Tailwind (via Vite) injects per-component