diff --git a/Makefile b/Makefile index 6df79867..536c07a5 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 07473160..52f56f0e 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 2e6f8722..45cc7abc 100644 --- a/html/crash.html +++ b/html/crash.html @@ -7,41 +7,37 @@
-
-
-
-
- Crash report for jfa-go - {{ if .Err }} -
- Error: {{ .Err }} -
- {{ end }} - Create an Issue -
-
-
- Full Log - Copy -
-
- - -
-
-
{{ .Log }}
-
-
-

An attempt has been made to remove sensitive info, but make sure to check yourself.

-
{{ .SanitizedLog }}
-
-
+
+
+ Crash report for jfa-go + {{ if .Err }} +
+ Error: {{ .Err }}
-
+ {{ end }} + Create an Issue + +
+
+ Full Log + Copy +
+
+ + +
+
+
{{ .Log }}
+
+
+

An attempt has been made to remove sensitive info, but make sure to check yourself.

+
{{ .SanitizedLog }}
+
+