Browse Source

mobile optimisations - for now, move views sidebar again to the right - WIP

pull/5114/head
Daniel Spaude 2 years ago
parent
commit
3404f6355a
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 4
      packages/nc-gui/components/smartsheet/Toolbar.vue

4
packages/nc-gui/components/smartsheet/Toolbar.vue

@ -45,7 +45,7 @@ const { allowCSVDownload } = useSharedView()
<LazySmartsheetQrScannerButton v-if="isGrid || isKanban || isGallery" /> <LazySmartsheetQrScannerButton v-if="isGrid || isKanban || isGallery" />
<LazySmartsheetToolbarExport v-if="(!isPublic && !isUIAllowed('dataInsert')) || (isPublic && allowCSVDownload)" /> <LazySmartsheetToolbarExport v-if="(!isPublic && !isUIAllowed('dataInsert')) || (isPublic && allowCSVDownload)" />
<div class="flex-1" /> <div v-if="!isMobileMode" class="flex-1" />
<LazySmartsheetToolbarReload v-if="!isPublic && !isForm" /> <LazySmartsheetToolbarReload v-if="!isPublic && !isForm" />
@ -54,7 +54,7 @@ const { allowCSVDownload } = useSharedView()
<LazySmartsheetToolbarSearchData v-if="(isGrid || isGallery || isKanban) && !isPublic" class="shrink mx-2" /> <LazySmartsheetToolbarSearchData v-if="(isGrid || isGallery || isKanban) && !isPublic" class="shrink mx-2" />
<template v-if="!isOpen && !isPublic"> <template v-if="!isOpen && !isPublic">
<div class="border-l-1 pl-3"> <div class="border-l-1 pl-3" :class="{ 'ml-auto': isMobileMode }">
<LazySmartsheetSidebarToolbarToggleDrawer class="mr-2" /> <LazySmartsheetSidebarToolbarToggleDrawer class="mr-2" />
</div> </div>
</template> </template>

Loading…
Cancel
Save