aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorAlexander Tumin <iamtakingiteasy@eientei.org>2022-08-17 02:33:39 +0300
committerAlexander Tumin <iamtakingiteasy@eientei.org>2022-08-17 09:49:52 +0300
commita29835375a62549410a7df7922f8eb3f9b391487 (patch)
tree948f11bc455a66677bd49b969f647c46663ef836 /src/App.js
parent258b5e6be2358af013a8308e0994aa4264ace066 (diff)
Allow column width configuration: allow stretching navbar with columns
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index f5bd7e2e..d1ad16d5 100644
--- a/src/App.js
+++ b/src/App.js
@@ -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 () {