From 53aa4384e3944570074b6e7005c3f5e62003583e Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 30 Oct 2023 01:48:05 +0100 Subject: fix(frontend): don't wrap whitespace on certain elements --- src/frontend/tubo/views/playlist.cljs | 2 +- src/frontend/tubo/views/stream.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/views/playlist.cljs b/src/frontend/tubo/views/playlist.cljs index a201008..bee01c5 100644 --- a/src/frontend/tubo/views/playlist.cljs +++ b/src/frontend/tubo/views/playlist.cljs @@ -43,7 +43,7 @@ [:img.rounded-full.object-cover.min-h-full.min-w-full {:src uploader-avatar :alt uploader-name}]]]] [:a {:href (rfe/href :tubo.routes/channel nil {:url uploader-url}) :title uploader-name} uploader-name]] - [:span.ml-2 (str stream-count " streams")]] + [:span.ml-2.whitespace-nowrap (str stream-count " streams")]] [:div.flex.flex.w-full.my-4.justify-center ]] [items/related-streams related-streams next-page-url]])])) diff --git a/src/frontend/tubo/views/stream.cljs b/src/frontend/tubo/views/stream.cljs index 503dfd0..6747abc 100644 --- a/src/frontend/tubo/views/stream.cljs +++ b/src/frontend/tubo/views/stream.cljs @@ -102,7 +102,7 @@ [:i.fa-solid.fa-thumbs-down] [:span.ml-2 dislike-count]])] (when upload-date - [:div.sm:text-base.text-sm.mt-1 + [:div.sm:text-base.text-sm.mt-1.whitespace-nowrap [:i.fa-solid.fa-calendar.mx-2] [:span (-> upload-date -- cgit v1.2.3