Adjusted the main layout for sidebar, page, player and fixed normalize
parent
3f7ce93ad6
commit
9a5440e5ff
|
|
@ -2,8 +2,8 @@
|
||||||
<div id="app" class="root">
|
<div id="app" class="root">
|
||||||
<DockableSidebar />
|
<DockableSidebar />
|
||||||
<div class="page-wrapper">
|
<div class="page-wrapper">
|
||||||
<router-view></router-view>
|
<router-view class="page"></router-view>
|
||||||
<PlayerBar />
|
<PlayerBar class="player-bar" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -18,10 +18,17 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass">
|
||||||
@import "../../node_modules/normalize-scss/sass/normalize.scss"
|
@import 'normalize-scss';
|
||||||
|
@include normalize();
|
||||||
.root,.page-wrapper
|
.root,.page-wrapper
|
||||||
display: flex
|
display: flex
|
||||||
.page-wrapper
|
.page-wrapper
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
|
height: 100vh
|
||||||
|
box-sizing: border-box
|
||||||
|
max-height: 100vh
|
||||||
|
.page
|
||||||
|
flex-grow: 1
|
||||||
|
overflow: auto
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style scoped lang="sass">
|
||||||
|
section
|
||||||
|
width: 100%
|
||||||
|
max-width: 250px
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<section>
|
<section>
|
||||||
<ActionBar />
|
<ActionBar />
|
||||||
HomePage
|
<p>home</p>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="sass" scoped>
|
||||||
|
section
|
||||||
|
height: 3rem
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue