From baaa61761d0a7d3af7b71cacf7b5f0df9a023ecf Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 27 Oct 2022 11:40:22 +0200 Subject: [PATCH 01/13] change width, oderBy slug_asc --- .../FilterMenu/FilterMenuSection.vue | 20 +++++++++---------- webapp/graphql/CategoryQuery.js | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/webapp/components/FilterMenu/FilterMenuSection.vue b/webapp/components/FilterMenu/FilterMenuSection.vue index f4397701f..1533bf5a3 100644 --- a/webapp/components/FilterMenu/FilterMenuSection.vue +++ b/webapp/components/FilterMenu/FilterMenuSection.vue @@ -58,22 +58,22 @@ export default { flex-grow: 1; > .item { - width: 50%; + width: 30%; padding: 0 $space-x-small; margin-bottom: $space-small; text-align: center; - @media only screen and (max-width: 800px) { - width: 50%; - } + // @media only screen and (max-width: 800px) { + // width: 30%; + // } - @media only screen and (max-width: 630px) { - width: 40%; - } + // @media only screen and (max-width: 630px) { + // width: 30%; + // } - @media only screen and (max-width: 440px) { - width: 30%; - } + // @media only screen and (max-width: 440px) { + // width: 30%; + // } } } diff --git a/webapp/graphql/CategoryQuery.js b/webapp/graphql/CategoryQuery.js index 4d2ae9d8f..383a07cba 100644 --- a/webapp/graphql/CategoryQuery.js +++ b/webapp/graphql/CategoryQuery.js @@ -3,7 +3,7 @@ import gql from 'graphql-tag' export default () => { return gql` query { - Category { + Category(orderBy: slug_asc) { id slug icon From 8c7005f643e3baa703197713a02e1846db5688b5 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 27 Oct 2022 12:00:08 +0200 Subject: [PATCH 02/13] change font-size and filter icon size --- .../FilterMenu/CategoriesFilter.vue | 24 +++++++++++++++++++ .../FilterMenu/FilterMenuSection.vue | 6 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/webapp/components/FilterMenu/CategoriesFilter.vue b/webapp/components/FilterMenu/CategoriesFilter.vue index fcbb68266..4a39a946d 100644 --- a/webapp/components/FilterMenu/CategoriesFilter.vue +++ b/webapp/components/FilterMenu/CategoriesFilter.vue @@ -82,3 +82,27 @@ export default { }, } + \ No newline at end of file diff --git a/webapp/components/FilterMenu/FilterMenuSection.vue b/webapp/components/FilterMenu/FilterMenuSection.vue index 1533bf5a3..79711514f 100644 --- a/webapp/components/FilterMenu/FilterMenuSection.vue +++ b/webapp/components/FilterMenu/FilterMenuSection.vue @@ -63,9 +63,9 @@ export default { margin-bottom: $space-small; text-align: center; - // @media only screen and (max-width: 800px) { - // width: 30%; - // } + @media only screen and (min-width: 800px) { + width: 20%; + } // @media only screen and (max-width: 630px) { // width: 30%; From 4c4e67bcf7471cf92a8ee003abf23d8335620f65 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 27 Oct 2022 15:17:27 +0200 Subject: [PATCH 03/13] filter category save and all button in on line --- webapp/components/FilterMenu/CategoriesFilter.vue | 6 +++++- webapp/components/FilterMenu/FilterMenu.vue | 3 ++- webapp/components/FilterMenu/FilterMenuSection.vue | 3 ++- webapp/components/HeaderMenu/HeaderMenu.vue | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/webapp/components/FilterMenu/CategoriesFilter.vue b/webapp/components/FilterMenu/CategoriesFilter.vue index 4a39a946d..b7fb0e19a 100644 --- a/webapp/components/FilterMenu/CategoriesFilter.vue +++ b/webapp/components/FilterMenu/CategoriesFilter.vue @@ -6,9 +6,10 @@ :label="$t('filter-menu.all')" icon="check" @click="resetCategories" + style="margin-right: 20px;" /> -
+