From 77f8537f61179de90fec231f345d16f58d42f2fd Mon Sep 17 00:00:00 2001 From: Absturztaube Date: Mon, 28 Jun 2021 22:54:33 +0200 Subject: [PATCH] improved sidebar ordering when 3rd column is active --- src/App.js | 5 +++++ src/App.scss | 1 + src/App.vue | 1 + 3 files changed, 7 insertions(+) diff --git a/src/App.js b/src/App.js index 0d55ffb4..2cd78de7 100644 --- a/src/App.js +++ b/src/App.js @@ -86,6 +86,11 @@ export default { 'order': this.$store.getters.mergedConfig.sidebarRight ? 99 : 0 } }, + thirdColumnAlign () { + return { + 'order': this.$store.getters.mergedConfig.sidebarRight ? 0 : 99 + } + }, thirdColumnLayout () { return { 'max-width': this.$store.getters.mergedConfig.showThirdColumn ? '1400px' : '980px' diff --git a/src/App.scss b/src/App.scss index 4ae30ddf..b1a12446 100644 --- a/src/App.scss +++ b/src/App.scss @@ -576,6 +576,7 @@ nav { flex-basis: 25%; flex-grow: 1; flex-shrink: 1; + order: 50; } .sidebar-bounds { diff --git a/src/App.vue b/src/App.vue index 83d6a311..b79419e5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,6 +50,7 @@