Browse Source

chore(gui-v2): add cursor-pointer on sidebar toolbar

pull/3117/head
Wing-Kam Wong 2 years ago
parent
commit
068153531d
  1. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/DeleteTable.vue
  3. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/Reload.vue

2
packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue

@ -12,7 +12,7 @@ const sidebarOpen = inject(RightSidebarInj, ref(true))
<template #title> {{ $t('activity.addRow') }} </template> <template #title> {{ $t('activity.addRow') }} </template>
<div class="nc-sidebar-right-item hover:after:bg-primary/75 group"> <div class="nc-sidebar-right-item hover:after:bg-primary/75 group">
<MdiPlusOutline class="group-hover:(!text-white)" @click="emits('addRow')" /> <MdiPlusOutline class="cursor-pointer group-hover:(!text-white)" @click="emits('addRow')" />
</div> </div>
</a-tooltip> </a-tooltip>
</template> </template>

2
packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/DeleteTable.vue

@ -14,7 +14,7 @@ const sidebarOpen = inject(RightSidebarInj, ref(true))
<template #title> {{ $t('activity.deleteTable') }} </template> <template #title> {{ $t('activity.deleteTable') }} </template>
<div class="nc-sidebar-right-item hover:after:bg-red-500 group"> <div class="nc-sidebar-right-item hover:after:bg-red-500 group">
<MdiDeleteOutline class="group-hover:(!text-white)" @click="deleteTable(meta)" /> <MdiDeleteOutline class="cursor-pointer group-hover:(!text-white)" @click="deleteTable(meta)" />
</div> </div>
</a-tooltip> </a-tooltip>
</template> </template>

2
packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/Reload.vue

@ -14,7 +14,7 @@ const onClick = () => reloadHook.trigger()
<template #title> {{ $t('general.reload') }} </template> <template #title> {{ $t('general.reload') }} </template>
<div class="nc-sidebar-right-item hover:after:bg-green-500 group"> <div class="nc-sidebar-right-item hover:after:bg-green-500 group">
<MdiReload class="group-hover:(!text-white)" @click="onClick" /> <MdiReload class="cursor-pointer group-hover:(!text-white)" @click="onClick" />
</div> </div>
</a-tooltip> </a-tooltip>
</template> </template>

Loading…
Cancel
Save