Browse Source

refactor(gui-v2): give similar size for all field icons

Signed-off-by: Pranav C <pranavxc@gmail.com>

refactor(gui-v2): give similar size for all field icons

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2860/head
Pranav C 2 years ago
parent
commit
28feef5408
  1. 2
      packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet-header/VirtualCellIcon.vue
  3. 4
      packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue

2
packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue

@ -65,5 +65,5 @@ const icon = computed(() => {
</script> </script>
<template> <template>
<component :is="icon" class="text-grey mx-1" /> <component :is="icon" class="text-grey mx-1 !text-sm" />
</template> </template>

2
packages/nc-gui-v2/components/smartsheet-header/VirtualCellIcon.vue

@ -37,5 +37,5 @@ const icon = computed(() => {
</script> </script>
<template> <template>
<component :is="icon" class="text-grey mx-1" /> <component :is="icon" class="text-grey mx-1 !text-sm" />
</template> </template>

4
packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue

@ -140,8 +140,8 @@ const deleteLink = async (id: string) => {
<a-table-column key="id" :title="$t('labels.actions')" data-index="title"> <a-table-column key="id" :title="$t('labels.actions')" data-index="title">
<template #default="{ record }"> <template #default="{ record }">
<div class="text-sm flex gap-2" :title="text"> <div class="text-sm flex gap-2" :title="text">
<MdiCopyIcon @click="copyLink(record)" /> <MdiCopyIcon class="cursor-pointer" @click="copyLink(record)" />
<MdiDeleteIcon @click="deleteLink(record.id)" /> <MdiDeleteIcon class="cursor-pointer" @click="deleteLink(record.id)" />
</div> </div>
</template> </template>
</a-table-column> </a-table-column>

Loading…
Cancel
Save