Spaces:
Running
Running
File size: 658 Bytes
5fa7a59 8dc592a 5fa7a59 b1722bb 7fe74af 5fa7a59 8dc592a 5fa7a59 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<template>
<div class="main-container">
<Header />
<main class="main-content">
<router-view />
</main>
<Footer />
</div>
</template>
<script>
import Header from '../components/HeaderOpen.vue'
import Footer from '../components/FooterOpen.vue'
export default {
name: 'Main',
components: {
Header,
Footer
}
}
</script>
<style scoped>
.main-container {
width: 100%;
height: 100%;
}
.main-content {
flex: 1; /* take all remaining vertical space */
padding: 2rem 2.5rem 120px; /* bottom padding prevents overlap with footer */
box-sizing: border-box;
overflow-x: hidden;
background: transparent;
}
</style>
|