aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
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" />