From 964fdeb2e8b10268d006a4f0004dc1dc4543ba6f Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 29 Dec 2021 21:27:24 +0100 Subject: [PATCH] fix: namespace new buttons on mobile --- src/components/home/navigation.vue | 4 + src/styles/components/_index.scss | 3 +- src/styles/components/namespaces.scss | 4 - src/views/namespaces/ListNamespaces.vue | 107 ++++++++++++++---------- 4 files changed, 66 insertions(+), 52 deletions(-) delete mode 100644 src/styles/components/namespaces.scss 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 @@