From 1f3aed124ed013c443d15d9c3e4cc09dfc0ba972 Mon Sep 17 00:00:00 2001 From: Keith Daulton Date: Wed, 12 Oct 2022 10:54:13 -0400 Subject: [PATCH] Fixes CSP violations for inline styles --- src/webviews/apps/home/components/card-section.ts | 8 +--- src/webviews/apps/home/components/header-card.ts | 19 ++++++++- src/webviews/apps/home/home.html | 52 ++++++----------------- src/webviews/apps/home/home.scss | 27 ++++++++++++ 4 files changed, 59 insertions(+), 47 deletions(-) diff --git a/src/webviews/apps/home/components/card-section.ts b/src/webviews/apps/home/components/card-section.ts index 48ec390..0150420 100644 --- a/src/webviews/apps/home/components/card-section.ts +++ b/src/webviews/apps/home/components/card-section.ts @@ -2,10 +2,7 @@ import { attr, css, customElement, FASTElement, html, when } from '@microsoft/fa import { numberConverter } from '../../shared/components/converters/number-converter'; import '../../shared/components/codicon'; -const template = html`