aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-30 00:45:51 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-30 00:45:51 +0100
commit188163f61121d7e105e76d64ca838eab50833564 (patch)
treed25a7bd8b2b15f36123d5c2a812a5b1aeae3a08c
parenta72ec6fc9e1c7dc93809e25e8722062725a59995 (diff)
feat(frontend): Ensure item links don't overlap navbar
-rw-r--r--src/frontend/tau/components/items.cljs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tau/components/items.cljs b/src/frontend/tau/components/items.cljs
index fdff1ab..38e96e9 100644
--- a/src/frontend/tau/components/items.cljs
+++ b/src/frontend/tau/components/items.cljs
@@ -14,7 +14,7 @@
[:div.px-5.py-2.m-2.flex.flex-col.max-w-full.min-h-full.max-h-full
[:div.flex.py-2.box-border.h-28
[:div.relative.min-w-full
- [:a.absolute.min-w-full.min-h-full.z-50 {:href (rfe/href :tau.routes/stream nil {:url url}) :title name}]
+ [:a.absolute.min-w-full.min-h-full.z-10 {:href (rfe/href :tau.routes/stream nil {:url url}) :title name}]
[:img.rounded.object-cover.max-h-full.min-w-full {:src thumbnail-url}]
[:div.rounded.p-2.absolute {:style {:bottom 5 :right 5 :background "rgba(0,0,0,.7)" :zIndex "0"}}
[:p {:style {:fontSize "14px"}}
@@ -69,7 +69,7 @@
[:div.px-5.py-2.m-2.flex.flex-col.max-w-full.min-h-full.max-h-full
[:div.flex.min-w-full.py-3.box-border.h-28
[:div.relative.min-w-full
- [:a.absolute.min-w-full.min-h-full.z-50 {:href (rfe/href :tau.routes/playlist nil {:url url}) :title name}]
+ [:a.absolute.min-w-full.min-h-full.z-10 {:href (rfe/href :tau.routes/playlist nil {:url url}) :title name}]
[:img.rounded.object-cover.max-h-full.min-w-full {:src thumbnail-url}]]]
[:div.overflow-hidden
[:div