mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
fix: make footer stick to the bottom
This commit is contained in:
parent
d872c93941
commit
ed7be09e54
1 changed files with 8 additions and 6 deletions
14
src/App.vue
14
src/App.vue
|
@ -1,12 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="w-full min-h-screen px-1vw py-5 reset" :class="[theme]">
|
<div class="flex flex-col w-full min-h-screen px-1vw py-5 reset" :class="[theme]">
|
||||||
<NavBar />
|
<NavBar />
|
||||||
|
|
||||||
<router-view v-slot="{ Component }">
|
<main class="flex-1">
|
||||||
<keep-alive :max="5">
|
<router-view v-slot="{ Component }">
|
||||||
<component :is="Component" :key="$route.fullPath" />
|
<keep-alive :max="5">
|
||||||
</keep-alive>
|
<component :is="Component" :key="$route.fullPath" />
|
||||||
</router-view>
|
</keep-alive>
|
||||||
|
</router-view>
|
||||||
|
</main>
|
||||||
|
|
||||||
<FooterComponent />
|
<FooterComponent />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue