aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-08-22 21:32:31 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-08-22 21:32:31 +0000
commit8e97a40c700797819bf92c61398daff230404228 (patch)
treef5b529fa4acea50092db7229724cbd02f845928b /src/App.js
parent4e2feae8686c7ff7cbaec35d0c8e07f0a696c2dd (diff)
parenta29835375a62549410a7df7922f8eb3f9b391487 (diff)
Merge branch 'allow-application-width-configuration' into 'develop'
Allow application width configuration See merge request pleroma/pleroma-fe!1533
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 () {