From 33d43bbf0279636d049631bfe497d5719b1872e2 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 3 Jan 2023 15:07:07 +0100 Subject: fix(frontend): Fix duration container overflowing thumbnail --- src/frontend/tau/components/items.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/frontend/tau/components/items.cljs b/src/frontend/tau/components/items.cljs index c5ed293..dccd43f 100644 --- a/src/frontend/tau/components/items.cljs +++ b/src/frontend/tau/components/items.cljs @@ -10,7 +10,7 @@ [:div.flex.py-2.box-border.h-44.xs:h-28 [:div.relative.min-w-full [:a.absolute.min-w-full.min-h-full.z-10 {:href route :title name}] - [:img.rounded.object-cover.max-h-full.min-w-full {:src thumbnail-url}] + [:img.rounded.object-cover.min-h-full.max-h-full.min-w-full {:src thumbnail-url}] (when duration [:div.rounded.p-2.absolute {:style {:bottom 5 :right 5 :background "rgba(0,0,0,.7)" :zIndex "0"}} [:p {:style {:fontSize "14px"}} -- cgit v1.2.3