aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-03 22:34:51 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-03 22:34:51 +0100
commitaaa9984768ad73d5a46cedef0d4f77a1926e2a62 (patch)
tree5266593eb5acfa1f2614248e07bd5f11269a3517
parent5ed4555ba16e4b4a769b2aa9cb8bd1c56a17c845 (diff)
feat: add word break to error container instead of force truncating
-rw-r--r--src/frontend/tubo/layout/views.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/tubo/layout/views.cljs b/src/frontend/tubo/layout/views.cljs
index 9c1cecc..d73841d 100644
--- a/src/frontend/tubo/layout/views.cljs
+++ b/src/frontend/tubo/layout/views.cljs
@@ -235,7 +235,7 @@
[:h3.font-bold
(str status " " status-text)]]
(when parse-error
- [:span.break-all
+ [:span.break-word
(or (:original-text parse-error) (:status-text parse-error))])
[:div.flex.justify-center.gap-x-6
[primary-button "Go Back" #(rf/dispatch [:navigation/history-go -1])]