diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-03 14:40:49 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-03 14:41:25 +0100 |
commit | 6fe0dbafec894f839d3c8a43c8f1196d8d7ee16e (patch) | |
tree | 50e21c845661a81be27763aebee2224618d32344 /src | |
parent | 6967fefc2752d4748be977c79d81eb31117f9550 (diff) |
feat: remove popup menu default menu styles
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/tubo/channel/views.cljs | 3 | ||||
-rw-r--r-- | src/frontend/tubo/layout/views.cljs | 3 | ||||
-rw-r--r-- | src/frontend/tubo/playlist/views.cljs | 3 | ||||
-rw-r--r-- | src/frontend/tubo/stream/views.cljs | 1 |
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 |