Skip to content

Commit

Permalink
Place the loading progress bar at the center
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Aug 8, 2024
1 parent a0c5fb8 commit 6f8ed13
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 6f8ed13

Please sign in to comment.