Add filters button on mobile and tablet

This commit is contained in:
Matt-Yorkley
2020-04-19 16:23:11 +02:00
parent 142cef3f3a
commit f43bf3880c
3 changed files with 19 additions and 1 deletions

View File

@@ -34,6 +34,14 @@
font-style: italic;
}
}
button {
background-color: $grey-600;
margin-left: 1em;
height: 3em;
width: 7em;
padding: 0;
}
}
products {

View File

@@ -129,3 +129,7 @@ button.success, .button.success {
padding: 0;
}
}
.flex {
display: flex;
}

View File

@@ -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() }})