From aaa9984768ad73d5a46cedef0d4f77a1926e2a62 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 3 Dec 2024 22:34:51 +0100 Subject: feat: add word break to error container instead of force truncating --- src/frontend/tubo/layout/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])] -- cgit v1.2.3