aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-03 14:42:26 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-03 14:42:26 +0100
commit7d6abc4b58bc07137592647da0437118fbebd6d6 (patch)
treeaf23c8e57bd286ac85ea2963a1af5978206db611 /src
parent61b6b81808bc9e6956849c4cef3a51a44bb055d9 (diff)
feat: add word break in error container
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/layout/views.cljs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/tubo/layout/views.cljs b/src/frontend/tubo/layout/views.cljs
index 4187ec6..9c1cecc 100644
--- a/src/frontend/tubo/layout/views.cljs
+++ b/src/frontend/tubo/layout/views.cljs
@@ -235,7 +235,8 @@
[:h3.font-bold
(str status " " status-text)]]
(when parse-error
- [:span (or (:original-text parse-error) (:status-text parse-error))])
+ [:span.break-all
+ (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])]
[secondary-button "Retry" #(rf/dispatch cb)]]]])