aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/components
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-03 15:07:07 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-03 15:07:07 +0100
commit33d43bbf0279636d049631bfe497d5719b1872e2 (patch)
treec3d1e7479095935d83118fcc513d992c8e232ba2 /src/frontend/tau/components
parentf9f8c928aeff7c1bcd3a2deacfc70045b957a818 (diff)
fix(frontend): Fix duration container overflowing thumbnail
Diffstat (limited to 'src/frontend/tau/components')
-rw-r--r--src/frontend/tau/components/items.cljs2
1 files changed, 1 insertions, 1 deletions
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"}}