mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add filters button on mobile and tablet
This commit is contained in:
@@ -34,6 +34,14 @@
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: $grey-600;
|
||||
margin-left: 1em;
|
||||
height: 3em;
|
||||
width: 7em;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
products {
|
||||
|
||||
@@ -129,3 +129,7 @@ button.success, .button.success {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
.shop-searchbar
|
||||
.row
|
||||
.small-5.columns
|
||||
.small-12.large-5.columns.flex
|
||||
%input#search.text{"ng-model" => "query",
|
||||
placeholder: t(:products_search),
|
||||
"ng-debounce" => "200",
|
||||
"ofn-disable-enter" => true}
|
||||
|
||||
.hide-for-large-up
|
||||
%button{type: 'button'}
|
||||
Filters
|
||||
%span{ng: {show: 'filtersCount()' }}
|
||||
({{ filtersCount() }})
|
||||
|
||||
Reference in New Issue
Block a user