aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-05 18:38:05 +0300
committerHenry Jameson <me@hjkos.com>2022-04-05 18:38:05 +0300
commit4a068483ed9b1334780402cbe64dfa3f4a0e8a3a (patch)
tree4f65244922dbcb4f3fb534971aedbb0b62431ba3 /src/App.vue
parent9e5037c71564c041c6bf518109d21e84df435855 (diff)
wide mode initial implementation + cleanup
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue
index 71de2a36..f87d895b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -7,12 +7,12 @@
id="app_bg_wrapper"
class="app-bg-wrapper"
/>
- <MobileNav v-if="isMobileLayout" />
+ <MobileNav v-if="layoutType === 'mobile'" />
<DesktopNav v-else />
<div
id="content"
class="app-layout container"
- :class="{ '-reverse': reverseLayout }"
+ :class="[{ '-reverse': reverseLayout }, '-' + layoutType]"
>
<div class="underlay"/>
<div
@@ -20,7 +20,7 @@
class="column -scrollable -mini mobile-hidden"
>
<user-panel />
- <template v-if="!isMobileLayout">
+ <template v-if="layoutType !== 'mobile'">
<nav-panel />
<instance-specific-panel v-if="showInstanceSpecificPanel" />
<features-panel v-if="!currentUser && showFeaturesPanel" />