aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/tubo/channel/views.cljs3
-rw-r--r--src/frontend/tubo/layout/views.cljs3
-rw-r--r--src/frontend/tubo/playlist/views.cljs3
-rw-r--r--src/frontend/tubo/stream/views.cljs1
4 files changed, 6 insertions, 4 deletions
diff --git a/src/frontend/tubo/channel/views.cljs b/src/frontend/tubo/channel/views.cljs
index d9dee61..a4b7b1e 100644
--- a/src/frontend/tubo/channel/views.cljs
+++ b/src/frontend/tubo/channel/views.cljs
@@ -20,7 +20,8 @@
:icon [:i.fa-solid.fa-plus]
:on-click #(rf/dispatch [:modals/open
[modals/add-to-bookmark
- related-streams]])}]]))))
+ related-streams]])}]
+ :menu-styles {:top "15px" :right "30px"}]))))
(defn metadata
[{:keys [avatars name subscriber-count] :as channel}]
diff --git a/src/frontend/tubo/layout/views.cljs b/src/frontend/tubo/layout/views.cljs
index 4f8aeb0..4187ec6 100644
--- a/src/frontend/tubo/layout/views.cljs
+++ b/src/frontend/tubo/layout/views.cljs
@@ -171,8 +171,7 @@
(defn popover-menu
[!menu-active? items &
- {:keys [menu-styles extra-classes]
- :or {menu-styles {:right "25px"} extra-classes [:p-3]}}]
+ {:keys [menu-styles extra-classes] :or {extra-classes [:p-3]}}]
[:div.flex.items-center
[focus-overlay #(reset! !menu-active? false) @!menu-active? true]
[:button.focus:outline-none.relative
diff --git a/src/frontend/tubo/playlist/views.cljs b/src/frontend/tubo/playlist/views.cljs
index 94b1d8c..09fe2a0 100644
--- a/src/frontend/tubo/playlist/views.cljs
+++ b/src/frontend/tubo/playlist/views.cljs
@@ -20,7 +20,8 @@
:icon [:i.fa-solid.fa-plus]
:on-click #(rf/dispatch [:modals/open
[modals/add-to-bookmark
- related-streams]])}]]))))
+ related-streams]])}]
+ :menu-styles {:top "15px" :right "30px"}]))))
(defn playlist
[_]
diff --git a/src/frontend/tubo/stream/views.cljs b/src/frontend/tubo/stream/views.cljs
index a2ee754..6ef690f 100644
--- a/src/frontend/tubo/stream/views.cljs
+++ b/src/frontend/tubo/stream/views.cljs
@@ -40,6 +40,7 @@
:icon [:i.fa-solid.fa-plus]
:on-click #(rf/dispatch [:modals/open
[modals/add-to-bookmark stream]])}]
+ :menu-styles {:top "15px" :right "30px"}
:extra-classes ["p-3" "lg:p-0"]]))))
(defn metadata-uploader