Browse Source

fix: icon size

pull/8990/head
Raju Udava 4 months ago committed by DarkPhoenix2704
parent
commit
06a6557cc9
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 8
      packages/nc-gui/components/cell/attachment/Modal.vue
  2. 2
      packages/nc-gui/components/cell/attachment/UploadProviders/Local.vue
  3. 10
      packages/nc-gui/components/cell/attachment/index.vue

8
packages/nc-gui/components/cell/attachment/Modal.vue

@ -189,7 +189,7 @@ const handleFileDelete = (i: number) => {
type="text"
@click="downloadAttachment(item)"
>
<component :is="iconMap.download" class="!text-xs" />
<component :is="iconMap.download" class="!text-xs h-13px w-13px" />
</NcButton>
</NcTooltip>
@ -197,11 +197,11 @@ const handleFileDelete = (i: number) => {
<template #title> {{ $t('title.renameFile') }} </template>
<NcButton
size="xsmall"
class="!p-0 nc-attachment-rename !h-5 !w-5 !text-gray-500 !min-w-[fit-content]"
class="!p-0 nc-attachment-rename !h-5 !w-5 !text-gray-500 !min-w-[fit-content] gap-2"
type="text"
@click="renameFile(item, i)"
>
<component :is="iconMap.rename" class="text-xs" />
<component :is="iconMap.rename" class="text-xs h-13px w-13px" />
</NcButton>
</NcTooltip>
@ -213,7 +213,7 @@ const handleFileDelete = (i: number) => {
type="text"
@click="onRemoveFileClick(item.title, i)"
>
<component :is="iconMap.delete" />
<component :is="iconMap.delete" class="text-xs h-13px w-13px" />
</NcButton>
</NcTooltip>
</div>

2
packages/nc-gui/components/cell/attachment/UploadProviders/Local.vue

@ -165,7 +165,7 @@ onBeforeUnmount(() => {
</div>
</template>
</div>
<div v-if="tempFiles.length" class="flex gap-2 pt-1 bg-white w-full items-center justify-end">
<div v-if="tempFiles.length" class="flex gap-2 pt-2 bg-white w-full items-center justify-end">
<NcButton :disabled="isLoading" type="secondary" size="small" @click="closeMenu">
{{ $t('labels.cancel') }}
</NcButton>

10
packages/nc-gui/components/cell/attachment/index.vue

@ -255,7 +255,7 @@ const handleFileDelete = (i: number) => {
type="text"
@click="downloadAttachment(item)"
>
<component :is="iconMap.download" class="!text-xs" />
<component :is="iconMap.download" class="!text-xs h-13px w-13px" />
</NcButton>
</NcTooltip>
@ -267,7 +267,7 @@ const handleFileDelete = (i: number) => {
type="text"
@click="renameFile(item, i)"
>
<component :is="iconMap.rename" class="text-xs" />
<component :is="iconMap.rename" class="text-xs h-13px w-13px" />
</NcButton>
</NcTooltip>
@ -279,7 +279,11 @@ const handleFileDelete = (i: number) => {
type="text"
@click="onRemoveFileClick(item.title, i)"
>
<component :is="iconMap.delete" v-if="isSharedForm || (isUIAllowed('dataEdit') && !isPublic)" />
<component
:is="iconMap.delete"
v-if="isSharedForm || (isUIAllowed('dataEdit') && !isPublic)"
class="text-xs h-13px w-13px"
/>
</NcButton>
</NcTooltip>
</div>

Loading…
Cancel
Save