From faf8f2b1a5f3cef87ad41f357ddd712abee04772 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 26 Dec 2021 18:44:50 +0100 Subject: [PATCH 1/6] fix: load the list tasks only after the list itself was loaded --- src/components/home/contentAuth.vue | 5 +++++ src/views/list/ShowList.vue | 20 ++++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index d3f0dc8a9..d4dd9a457 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -165,6 +165,11 @@ store.dispatch('labels/loadAllLabels') .app-content { padding: $navbar-height + 1.5rem 1.5rem 1rem 1.5rem; z-index: 2; + + // Used to make sure the spinner is always in the middle while loading + > .loader-container { + min-height: calc(100vh - #{$navbar-height + 1.5rem + 1rem}); + } @media screen and (max-width: $tablet) { margin-left: 0; diff --git a/src/views/list/ShowList.vue b/src/views/list/ShowList.vue index d0c1d20fe..ec02d7dc1 100644 --- a/src/views/list/ShowList.vue +++ b/src/views/list/ShowList.vue @@ -41,17 +41,17 @@ - +