Browse Source

mobile optimisations - work on merging right and left sidebar (WIP)

pull/4898/head
Daniel Spaude 2 years ago
parent
commit
8614d1133f
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 2
      packages/nc-gui/components/tabs/Smartsheet.vue
  2. 2
      packages/nc-gui/pages/[projectType]/[projectId]/index.vue

2
packages/nc-gui/components/tabs/Smartsheet.vue

@ -92,7 +92,7 @@ provide(
<LazySmartsheetExpandedFormDetached />
<!-- Lazy loading the sidebar causes issues when deleting elements, i.e. it appears as if multiple elements are removed when they are not -->
<SmartsheetSidebar v-if="meta" class="nc-right-sidebar" />
<SmartsheetSidebar v-if="meta && !isMobileMode" class="nc-right-sidebar" />
</div>
</template>

2
packages/nc-gui/pages/[projectType]/[projectId]/index.vue

@ -589,6 +589,8 @@ useEventListener(document, 'keydown', async (e: KeyboardEvent) => {
</a-layout-sider>
</template>
<SmartsheetSidebar v-if="isMobileMode" class="nc-right-sidebar" />
<div>
<LazyDashboardSettingsModal
v-model:model-value="dialogOpen"

Loading…
Cancel
Save