From 9afe78be84c1ae57ddf7ef49a9d23fe88016c008 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 23 Jan 2024 16:26:50 +0100 Subject: feat(frontend): refine search form styles --- src/frontend/tubo/components/navigation.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/tubo/components/navigation.cljs b/src/frontend/tubo/components/navigation.cljs index daa1bd5..283d1d2 100644 --- a/src/frontend/tubo/components/navigation.cljs +++ b/src/frontend/tubo/components/navigation.cljs @@ -36,7 +36,7 @@ {:on-click #(rf/dispatch [::events/toggle-search-form]) :type "button"} [:i.fa-solid.fa-arrow-left]] - [:input.bg-transparent.border-none.py-2.pr-6.mx-2.focus:ring-transparent.placeholder-white.sm:w-64.min-w-auto + [:input.bg-transparent.border-none.py-2.pr-6.mx-2.focus:ring-transparent.placeholder-white.sm:w-96.w-full {:type "text" :ref #(do (reset! !input %) (when % @@ -46,10 +46,10 @@ (when-not (empty? input) (rf/dispatch [::events/change-search-query input])) (reset! !query input)) :placeholder "Search"}] - [:button.mx-2 + [:button.mx-4 {:type "submit"} [:i.fa-solid.fa-search]] - [:button.mx-2.text-xs.absolute.right-8.top-3 + [:button.mx-4.text-xs.absolute.right-8.top-3 {:type "button" :on-click #(when @!input (set! (.-value @!input) "") -- cgit v1.2.3