Merge pull request #1 from nikandlv/developement

finished the task layouting the sidebar section
pull/8/head
Nikan Dalvand 2019-07-20 13:37:11 +04:30 committed by GitHub
commit abad25151b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ npm-debug.log
npm-debug.log.* npm-debug.log.*
thumbs.db thumbs.db
!.gitkeep !.gitkeep
.vscode

View File

@ -13,21 +13,24 @@ import DockableSidebar from './layouts/DockableSidebar'
import PlayerBar from './layouts/PlayerBar' import PlayerBar from './layouts/PlayerBar'
export default { export default {
name: 'jukebox', name: 'jukebox',
components: {DockableSidebar, PlayerBar} components: { DockableSidebar, PlayerBar }
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import 'normalize-scss'; @import 'normalize-scss'
@include normalize(); @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 height: 100vh
box-sizing: border-box box-sizing: border-box
max-height: 100vh max-height: 100vh
.page .page
flex-grow: 1 flex-grow: 1
overflow: auto overflow: auto

View File

@ -14,4 +14,5 @@ export default {
section section
width: 100% width: 100%
max-width: 250px max-width: 250px
padding: 2rem 3rem
</style> </style>