1
0

chore: move loading styles to variant into the component

This commit is contained in:
kolaente
2023-04-02 14:44:13 +02:00
parent 4134fcbd75
commit 76814a2d3f
2 changed files with 23 additions and 15 deletions

View File

@ -52,7 +52,7 @@
<ProjectsNavigationWrapper/>
<template #fallback>
<Loading class="navigation-loader"/>
<Loading variant="small"/>
</template>
</Suspense>
@ -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;
}
}
</style>