From dcd4db55ffb93b63da6277f70d7e55d55a88702d Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 3 Dec 2024 14:41:56 +0100 Subject: feat: tweak search form spacing values --- src/frontend/tubo/navigation/views.cljs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/frontend/tubo/navigation/views.cljs b/src/frontend/tubo/navigation/views.cljs index ea10ed3..066c0f9 100644 --- a/src/frontend/tubo/navigation/views.cljs +++ b/src/frontend/tubo/navigation/views.cljs @@ -27,11 +27,11 @@ :params {} :query {:q search-query :serviceId service-id}}])))} - [:div.flex.relative.flex-auto.lg:flex-none - [:button.mx-2 + [:div.flex.items-center.relative.flex-auto.lg:flex-none + [:button.p-2 {:type "button" :on-click #(rf/dispatch [:search/show-form false])} [:i.fa-solid.fa-arrow-left]] - [:input.w-full.lg:w-96.bg-transparent.py-2.pl-0.pr-6.mx-2.border-none.focus:ring-transparent.placeholder-white + [:input.w-full.lg:w-96.bg-transparent.pl-0.pr-6.m-2.border-none.focus:ring-transparent.placeholder-white {:type "text" :ref #(do (reset! !input %) (when % @@ -42,8 +42,8 @@ (rf/dispatch [:search/change-query input])) (reset! !query input)) :placeholder "Search"}] - [:button.mx-3 {:type "submit"} [:i.fa-solid.fa-search]] - [:button.mx-4.text-xs.absolute.right-8.top-3 + [:button.p-3 {:type "submit"} [:i.fa-solid.fa-search]] + [:button.p-4.text-xs.absolute.right-8 {:on-click #(when @!input (set! (.-value @!input) "") (reset! !query "") -- cgit v1.2.3