Browse Source

fix(ui) trailing space of search-auto-complete

Andelf 3 years ago
parent
commit
87c5b64b43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/search.cljs

+ 1 - 1
src/main/frontend/components/search.cljs

@@ -188,7 +188,7 @@
 
        :new-page
        [:div.text.font-bold (str (t :new-page) ": ")
-        [:span.ml-1 (str "\"" search-q "\"")]]
+        [:span.ml-1 (str "\"" (string/trim search-q) "\"")]]
 
        :page
        [:span {:data-page-ref data}