From e00e9264f78343addb694b3ac8fb8939cfcfec37 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 21 Aug 2023 01:56:05 +0200 Subject: fix(frontend): Fix player height responsiveness --- src/frontend/tubo/views/stream.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/tubo/views/stream.cljs b/src/frontend/tubo/views/stream.cljs index e3a7e7d..e3a0222 100644 --- a/src/frontend/tubo/views/stream.cljs +++ b/src/frontend/tubo/views/stream.cljs @@ -28,12 +28,14 @@ [:div.w-full.pb-4.relative {:class "ml:w-4/5 xl:w-3/5"} [navigation/back-button service-color] [:div.flex.justify-center.relative - {:class "ml:h-[450px] lg:h-[600px]"} + {:class "h-[350px] ml:h-[450px] lg:h-[600px]"} (when stream-format [player/stream-player {"sources" [{"src" content "type" "video/mp4"} {"src" content "type" "video/webm"}] "poster" thumbnail-url - "controls" true} + "controls" true + "responsive" true + "fill" true} content])] [:div.px-4.ml:p-0 [:div.flex.flex.w-full.mt-3 -- cgit v1.2.3