Skip to content
Snippets Groups Projects
Commit c2ade827 authored by zhengbo's avatar zhengbo
Browse files

Solve the footer float problem

parent 29bb4a7c
No related branches found
No related tags found
3 merge requests!34Sprint 2 done,!33Solve the footer float problem,!311. add vuex
This diff is collapsed.
......@@ -3,9 +3,21 @@ import AppFooter from "@/components/AppFooter.vue";
import AppHeader from "@/components/AppHeader.vue";
</script>
<template>
<app-header v-if="!$route.meta.hideHeader"></app-header>
<router-view></router-view>
<app-footer></app-footer>
<body>
<app-header v-if="!$route.meta.hideHeader"></app-header>
<router-view class="wrapper"></router-view>
<app-footer class="footer"></app-footer>
</body>
</template>
<style></style>
\ No newline at end of file
<style>
body {
text-align: center;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.wrapper {
flex: 1;
}
</style>
......@@ -36,7 +36,7 @@
text-align: left;
font: normal 16px sans-serif;
padding: 45px 50px;
position: fixed;
/*position: fixed;*/
bottom: 0;
left: 0;
right: 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment