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