Mercurial > code > home > repos > streamed-graph
diff src/style.ts @ 150:3ce355e4f388 default tip
bye jest; hi vitest. new working test for styles.ts
author | drewp@bigasterisk.com |
---|---|
date | Mon, 08 May 2023 17:27:44 -0700 |
parents | 5a1a79f54779 |
children |
line wrap: on
line diff
--- a/src/style.ts Mon May 08 14:04:56 2023 -0700 +++ b/src/style.ts Mon May 08 17:27:44 2023 -0700 @@ -14,7 +14,6 @@ var head = document.head || document.getElementsByTagName("head")[0], style = document.createElement("style"); style.id = "allerta-style"; - style.type = "text/css"; style.innerText = content; head.appendChild(style); } @@ -45,7 +44,7 @@ } `; -export const streamedGraphStyle = css` +export const streamedGraphStyle = css` :host { display: inline-block; min-width: 30em;