aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/tubo/navigation/views.cljs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tubo/navigation/views.cljs b/src/frontend/tubo/navigation/views.cljs
index 5b98786..accff34 100644
--- a/src/frontend/tubo/navigation/views.cljs
+++ b/src/frontend/tubo/navigation/views.cljs
@@ -44,14 +44,14 @@
(reset! !query input))
:placeholder "Search"}]
[:button.p-3 {:type "submit"} [:i.fa-solid.fa-search]]
- [:button.p-4.text-xs.absolute.right-8
+ [:button.p-4.absolute.right-8
{:on-click #(when @!input
(set! (.-value @!input) "")
(reset! !query "")
(.focus @!input))
:type "button"
:class (when (empty? @!query) :invisible)}
- [:i.fa-solid.fa-circle-xmark]]]]))))
+ [:i.fa-solid.fa-xmark]]]]))))
(defn mobile-nav-item
[route icon label & {:keys [new-tab? active?]}]