diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 84117027..adf0bff9 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -555,4 +555,8 @@ $vikunja-nav-selected-width: 0.4rem; width: 32px; flex-shrink: 0; } + +.namespaces-list.loader-container.is-loading { + min-height: calc(100vh - #{$navbar-height + 1.5rem + 1rem + 1.5rem}); +} diff --git a/src/styles/components/_index.scss b/src/styles/components/_index.scss index 99a3c5aa..ba87006b 100644 --- a/src/styles/components/_index.scss +++ b/src/styles/components/_index.scss @@ -2,5 +2,4 @@ @import "labels"; @import "list"; @import "task"; -@import "tasks"; -@import "namespaces"; \ No newline at end of file +@import "tasks"; \ No newline at end of file diff --git a/src/styles/components/namespaces.scss b/src/styles/components/namespaces.scss deleted file mode 100644 index caead25e..00000000 --- a/src/styles/components/namespaces.scss +++ /dev/null @@ -1,4 +0,0 @@ -// FIXME: used in navigation.vue and in ListNamespaces.vue -.namespaces-list.loader-container.is-loading { - min-height: calc(100vh - #{$navbar-height + 1.5rem + 1rem + 1.5rem}); -} \ No newline at end of file diff --git a/src/views/namespaces/ListNamespaces.vue b/src/views/namespaces/ListNamespaces.vue index c31ee9cc..4ee8d9fd 100644 --- a/src/views/namespaces/ListNamespaces.vue +++ b/src/views/namespaces/ListNamespaces.vue @@ -1,15 +1,19 @@