mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Merge pull request #5466 from Matt-Yorkley/shop-search-fix
Fix search bar in /shops and /groups
This commit is contained in:
@@ -158,7 +158,7 @@ products .filter-box {
|
||||
|
||||
@include placeholder(rgba(0, 0, 0, 0.4), #777);
|
||||
|
||||
input[type="text"] {
|
||||
input[type="text"], input[type="search"] {
|
||||
@include big-input(rgba(0, 0, 0, 0.3), #777, $clr-brick);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
.small-12.columns
|
||||
%p
|
||||
%input{type: "search",
|
||||
"ng-model" => "search",
|
||||
"ng-model" => "query",
|
||||
placeholder: t(:groups_search),
|
||||
inputmode: "search",
|
||||
name: "search",
|
||||
"ng-debounce" => "150",
|
||||
"ofn-disable-enter" => true}
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#active-table-search.row
|
||||
.small-12.columns
|
||||
%input{type: "search",
|
||||
"ng-model" => "search",
|
||||
"ng-model" => "query",
|
||||
placeholder: t('search_by_name'),
|
||||
inputmode: "search",
|
||||
name: "name",
|
||||
"ng-debounce" => "500",
|
||||
"ofn-disable-enter" => true}
|
||||
|
||||
Reference in New Issue
Block a user