traxxx/assets/components/container/container.vue

38 lines
512 B
Vue

<template>
<div class="container">
<Header />
<div class="content">
<router-view />
</div>
</div>
</template>
<script>
import Header from '../header/header.vue';
export default {
components: {
Header,
},
};
</script>
<style lang="scss" scoped>
.container {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.content {
flex-grow: 1;
overflow-y: auto;
}
.content-inner {
padding: 1rem;
}
</style>