Skip to content

Commit

Permalink
Merge pull request #72 from simonsobs/dev
Browse files Browse the repository at this point in the history
Place the loading progress bar at the center
  • Loading branch information
TaiSakuma authored Aug 8, 2024
2 parents a0c5fb8 + 6f8ed13 commit cd3346a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/app/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<App></App>
</ProvideConfig>
<template #fallback>
<VProgressLinear indeterminate> </VProgressLinear>
<div class="progress-container">
<VProgressLinear indeterminate> </VProgressLinear>
</div>
</template>
</Suspense>
</VApp>
Expand All @@ -15,3 +17,15 @@
import ProvideConfig from "@/utils/config/ProvideConfig.vue";
import App from "./AppMain.vue";
</script>

<style scoped>
.progress-container {
height: 100%;
display: grid;
place-items: center;
}
.progress-container > * {
width: min(61.8%, 390px);
}
</style>

0 comments on commit cd3346a

Please sign in to comment.