Browse Source

fix(nc-gui): Link modal mobile UI fix

pull/6558/head
Muhammed Mustafa 1 year ago
parent
commit
d61b329a97
  1. 2
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  2. 4
      packages/nc-gui/components/virtual-cell/components/ListChildItems.vue
  3. 2
      packages/nc-gui/components/virtual-cell/components/ListItems.vue
  4. 1
      packages/nc-gui/lang/en.json

2
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -477,7 +477,7 @@ export default {
<div>{{ meta.title }}</div>
</div>
<NcButton
v-if="!props.lastRow"
v-if="props.showNextPrevIcons && !props.lastRow"
v-e="['c:row-expand:next']"
type="secondary"
class="nc-next-arrow !w-10"

4
packages/nc-gui/components/virtual-cell/components/ListChildItems.vue

@ -278,7 +278,7 @@ const linkOrUnLink = (rowRef: Record<string, string>, id: string) => {
</div>
</div>
<div v-if="isMobileMode" class="flex flex-row justify-center items-center w-full mt-2">
<div v-if="isMobileMode" class="flex flex-row justify-center items-center w-full my-2">
<NcPagination
v-if="!isNew && childrenList?.pageInfo"
v-model:current="childrenListPagination.page"
@ -320,7 +320,7 @@ const linkOrUnLink = (rowRef: Record<string, string>, id: string) => {
@click="emit('attachRecord')"
>
<div class="flex items-center gap-1">
<MdiPlus class="!xs:hidden" /> {{ isMobileMode ? 'Link More' : $t('title.linkMoreRecords') }}
<MdiPlus class="!xs:hidden" /> {{ isMobileMode ? $t('title.linkMore') : $t('title.linkMoreRecords') }}
</div>
</NcButton>
</div>

2
packages/nc-gui/components/virtual-cell/components/ListItems.vue

@ -284,7 +284,7 @@ onKeyStroke('Escape', () => {
</p>
</div>
<div v-if="isMobileMode" class="flex flex-row justify-center items-center w-full mt-2">
<div v-if="isMobileMode" class="flex flex-row justify-center items-center w-full my-2">
<NcPagination
v-if="childrenExcludedList?.pageInfo"
v-model:current="childrenExcludedListPagination.page"

1
packages/nc-gui/lang/en.json

@ -307,6 +307,7 @@
"hasMany": "Has Many",
"manyToMany": "Many to Many",
"virtualRelation": "Virtual Relation",
"linkMore": "Link More",
"linkMoreRecords": "Link more records",
"downloadFile": "Download File",
"renameTable": "Rename Table",

Loading…
Cancel
Save