From 76814a2d3f68876934c5791bb4901fca5f95c00f Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 2 Apr 2023 14:44:13 +0200 Subject: [PATCH] chore: move loading styles to variant into the component --- src/components/home/navigation.vue | 15 +-------------- src/components/misc/loading.vue | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index ef6235144..e9ba165d2 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -52,7 +52,7 @@ @@ -128,17 +128,4 @@ const menuActive = computed(() => baseStore.menuActive) } } } - -.navigation-loader { - min-width: 100%; - height: 150px; - - &.is-loading::after { - width: 3rem; - height: 3rem; - top: calc(50% - 1.5rem); - left: calc(50% - 1.5rem); - border-width: 3px; - } -} diff --git a/src/components/misc/loading.vue b/src/components/misc/loading.vue index 65f56448f..bf368b719 100644 --- a/src/components/misc/loading.vue +++ b/src/components/misc/loading.vue @@ -1,5 +1,5 @@ + + \ No newline at end of file