Allow column width configuration: allow stretching navbar with columns

This commit is contained in:
Alexander Tumin 2022-08-17 02:33:39 +03:00
commit a29835375a
7 changed files with 46 additions and 8 deletions

View file

@ -60,6 +60,13 @@ export default {
'-' + this.layoutType
]
},
navClasses () {
const { navbarColumnStretch } = this.$store.getters.mergedConfig
return [
'-' + this.layoutType,
...(navbarColumnStretch ? ['-column-stretch'] : [])
]
},
currentUser () { return this.$store.state.users.currentUser },
userBackground () { return this.currentUser.background_image },
instanceBackground () {