Browse Source

Merge pull request #4975 from nocodb/fix/nc-icon-positions

fix(nc-gui): nc-icon positions
pull/4981/head
Raju Udava 2 years ago committed by GitHub
parent
commit
1578efad02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/assets/style.scss
  2. 4
      packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue

2
packages/nc-gui/assets/style.scss

@ -34,7 +34,7 @@ a {
} }
.nc-icon { .nc-icon {
@apply color-transition; @apply color-transition inline;
} }
// menu item styling // menu item styling

4
packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue

@ -200,7 +200,7 @@ function onStopEdit() {
{{ $t('activity.copyView') }} {{ $t('activity.copyView') }}
</template> </template>
<MdiContentCopy class="hidden group-hover:block text-gray-500 nc-view-copy-icon" @click.stop="onDuplicate" /> <MdiContentCopy class="!hidden !group-hover:block text-gray-500 nc-view-copy-icon" @click.stop="onDuplicate" />
</a-tooltip> </a-tooltip>
<template v-if="!vModel.is_default"> <template v-if="!vModel.is_default">
@ -209,7 +209,7 @@ function onStopEdit() {
{{ $t('activity.deleteView') }} {{ $t('activity.deleteView') }}
</template> </template>
<MdiTrashCan class="hidden group-hover:block text-red-500 nc-view-delete-icon" @click.stop="onDelete" /> <MdiTrashCan class="!hidden !group-hover:block text-red-500 nc-view-delete-icon" @click.stop="onDelete" />
</a-tooltip> </a-tooltip>
</template> </template>
</div> </div>

Loading…
Cancel
Save