Browse Source

feat: Integrated View info with mobile view

pull/6474/head
Muhammed Mustafa 1 year ago
parent
commit
d58eb388bd
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/ViewInfo.vue
  2. 2
      packages/nc-gui/utils/iconUtils.ts

2
packages/nc-gui/components/smartsheet/toolbar/ViewInfo.vue

@ -14,7 +14,7 @@ const { activeTable } = storeToRefs(useTablesStore())
:class="{
'min-w-2/5 max-w-2/5': !isMobileMode && activeView?.type !== ViewTypes.KANBAN,
'min-w-1/4 max-w-1/4': !isMobileMode && activeView?.type === ViewTypes.KANBAN,
'min-w-2/3 max-w-2/3': isMobileMode,
'min-w-1/2 max-w-1/2': isMobileMode,
}"
>
<template v-if="!(isMobileMode && !activeView?.is_default)">

2
packages/nc-gui/utils/iconUtils.ts

@ -37,6 +37,7 @@ import NcLayers from '~icons/nc-icons/layers'
import NcUsers from '~icons/nc-icons/users'
import NcCheck from '~icons/nc-icons/check'
import PlusSquare from '~icons/nc-icons/plus-square'
import MobileShare from '~icons/nc-icons/share'
import PhLayout from '~icons/ph/layout'
import Delete from '~icons/material-symbols/delete-outline-rounded'
import CiFilter from '~icons/mdi/filter-outline'
@ -366,6 +367,7 @@ export const iconMap = {
sync: MsSync,
warning: MaterialSymbolsWarningOutlineRounded,
share: h('span', { class: 'material-symbols' }, 'share'),
mobileShare: MobileShare,
reload: MdiRefresh,
xml: h('span', { class: 'material-symbols' }, 'code'),
airtable: LogosAirtable,

Loading…
Cancel
Save