ali 1 år sedan
förälder
incheckning
82f5439211

+ 0 - 1
src/components/Widgets/ContentCategory/ContentCategoryList/ContentItemCategories.vue

@@ -84,7 +84,6 @@ export default {
     padding: 4px;
     display: flex;
     justify-content: space-between;
-    gap: 4px;
     height: 36px;
     align-items: center;
     background: transparent;

+ 10 - 4
src/components/Widgets/ContentCategory/ContentCategoryList/filters.vue

@@ -112,10 +112,16 @@ export default {
     searchText () {
       this.emitFilters()
     },
-    screenGtMd () {
-      if (!this.screenGtMd) {
-        this.subFilterExpanded = true
-      }
+    screenGtMd: {
+      handler (newValue) {
+        debugger
+        if (!newValue) {
+          this.$nextTick(() => {
+            this.subFilterExpanded = true
+          })
+        }
+      },
+      immediate: true
     }
   },
   methods: {