From 5e74882dff22b9bfead3b02a14e8e71a8a0f706e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchrisshank=E2=80=9D?= Date: Mon, 2 Dec 2024 13:14:55 -0800 Subject: [PATCH] fix html formatting --- .prettierrc | 3 ++- demo/index.html | 45 ++++++++++++++++++++++++--------------------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.prettierrc b/.prettierrc index 0981b7c..1435ec0 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,5 @@ { "singleQuote": true, - "printWidth": 120 + "printWidth": 120, + "htmlWhitespaceSensitivity": "strict" } diff --git a/demo/index.html b/demo/index.html index 95b9ba3..2254bdc 100644 --- a/demo/index.html +++ b/demo/index.html @@ -39,16 +39,6 @@ margin: 1em 0 0; } - #questions { - font-size: 0.9rem; - font-style: italic; - margin-bottom: 2rem; - - li::before { - display: none; - } - } - ul { list-style-type: none; line-height: 1.8; @@ -71,6 +61,16 @@ text-decoration: underline; } + #questions { + font-size: 0.9rem; + font-style: italic; + margin-bottom: 2rem; + + li::before { + content: '-'; + } + } + #disclaimer { font-size: 0.75rem; font-style: italic; @@ -79,21 +79,24 @@
-

Folk Canvas (Github)

+

+ Folk Canvas + (Github) +

Demos