) {
const cancel = this.setLoading()
try {
diff --git a/src/styles/common-imports.scss b/src/styles/common-imports.scss
index 002745792b..02f824c458 100644
--- a/src/styles/common-imports.scss
+++ b/src/styles/common-imports.scss
@@ -32,8 +32,4 @@ $switch-view-height: 2.69rem;
$navbar-height: 4rem;
$navbar-width: 300px;
-$navbar-icon-width: 40px;
-
-$lists-per-row: 5;
-$list-height: 150px;
-$list-spacing: 1rem;
\ No newline at end of file
+$navbar-icon-width: 40px;
\ No newline at end of file
diff --git a/src/views/Home.vue b/src/views/Home.vue
index b55952c2a8..72377fd29c 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -40,17 +40,11 @@
{{ $t('home.lastViewed') }}
-
-
-
+
@@ -61,7 +55,7 @@ import {ref, computed} from 'vue'
import Message from '@/components/misc/message.vue'
import ShowTasks from '@/views/tasks/ShowTasks.vue'
-import ListCard from '@/components/list/partials/list-card.vue'
+import ListCardGrid from '@/components/list/partials/ListCardGrid.vue'
import AddTask from '@/components/tasks/add-task.vue'
import {getHistory} from '@/modules/listHistory'
@@ -113,14 +107,8 @@ function updateTaskList() {
}
-
\ No newline at end of file
diff --git a/src/views/namespaces/ListNamespaces.vue b/src/views/namespaces/ListNamespaces.vue
index 046a9de442..fb5e1a454f 100644
--- a/src/views/namespaces/ListNamespaces.vue
+++ b/src/views/namespaces/ListNamespaces.vue
@@ -15,28 +15,28 @@
-
+
{{ $t('namespace.noneAvailable') }}
-
+
{{ $t('namespace.create.title') }}.
-
+
{{ $t('list.create.header') }}
{{ $t('namespace.unarchive') }}
@@ -44,26 +44,22 @@
{{ getNamespaceTitle(n) }}
-
+
{{ $t('namespace.archived') }}
-
+
{{ $t('namespace.noLists') }}
-
+
{{ $t('namespace.createList') }}
-
+
-
-
-
+
@@ -72,8 +68,9 @@
import {computed} from 'vue'
import {useI18n} from 'vue-i18n'
+import BaseButton from '@/components/base/BaseButton.vue'
import Fancycheckbox from '@/components/input/fancycheckbox.vue'
-import ListCard from '@/components/list/partials/list-card.vue'
+import ListCardGrid from '@/components/list/partials/ListCardGrid.vue'
import {getNamespaceTitle} from '@/helpers/getNamespaceTitle'
import {useTitle} from '@/composables/useTitle'
@@ -89,11 +86,10 @@ const showArchived = useStorage('showArchived', false)
const loading = computed(() => namespaceStore.isLoading)
const namespaces = computed(() => {
- return namespaceStore.namespaces.filter(n => showArchived.value ? true : !n.isArchived)
- // return namespaceStore.namespaces.filter(n => showArchived.value ? true : !n.isArchived).map(n => {
- // n.lists = n.lists.filter(l => !l.isArchived)
- // return n
- // })
+ return namespaceStore.namespaces.filter(namespace => showArchived.value
+ ? true
+ : !namespace.isArchived,
+ )
})
@@ -121,10 +117,8 @@ const namespaces = computed(() => {
}
}
-.namespace {
- & + & {
- margin-top: 1rem;
- }
+.namespace:not(:first-child) {
+ margin-top: 1rem;
}
.namespace-title {
@@ -142,9 +136,4 @@ const namespaces = computed(() => {
background: var(--white-translucent);
margin-left: .5rem;
}
-
-.lists {
- display: flex;
- flex-flow: row wrap;
-}
\ No newline at end of file