diff --git a/Makefile b/Makefile index 6df7986..536c07a 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,8 @@ else SOURCEMAP := COPYTS := TYPECHECK := - UNCSS := npx uncss $(DATA)/crash.html --csspath web/css --output $(DATA)/bundle.css + UNCSS := npx tailwindcss -i $(DATA)/web/css/bundle.css -o $(DATA)/bundle.css --content "html/crash.html" + # UNCSS := npx uncss $(DATA)/crash.html --csspath web/css --output $(DATA)/bundle.css TAILWIND := endif diff --git a/css/base.css b/css/base.css index 0747316..52f56f0 100644 --- a/css/base.css +++ b/css/base.css @@ -433,6 +433,7 @@ pre { white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ background-color: var(--color-content-high) !important; + overflow-x: scroll; } .circle { diff --git a/html/crash.html b/html/crash.html index 2e6f872..45cc7ab 100644 --- a/html/crash.html +++ b/html/crash.html @@ -7,41 +7,37 @@
{{ .Log }}-
An attempt has been made to remove sensitive info, but make sure to check yourself.
-{{ .SanitizedLog }}-
{{ .Log }}+
An attempt has been made to remove sensitive info, but make sure to check yourself.
+{{ .SanitizedLog }}+