Browse Source

feat(nc-gui): changed expand hover effect

pull/6286/head
reenphygeorge 1 year ago
parent
commit
cfd45c8fa4
  1. 2
      packages/nc-gui/components/cell/TextArea.vue
  2. 2
      packages/nc-gui/components/cell/attachment/index.vue

2
packages/nc-gui/components/cell/TextArea.vue

@ -90,7 +90,7 @@ onClickOutside(inputWrapperRef, (e) => {
<div
v-if="active"
class="!absolute right-0 h-5 w-5 group cursor-pointer py-1 flex justify-center gap-1 items-center active:(ring ring-accent ring-opacity-100) rounded border-1 shadow-sm hover:(bg-primary bg-opacity-10) dark:(!bg-slate-500)"
class="!absolute right-0 h-7 w-5 group cursor-pointer py-1 flex justify-center gap-1 items-center active:(ring ring-accent ring-opacity-100) rounded border-1 shadow-sm hover:(bg-primary bg-opacity-10) dark:(!bg-slate-500)"
:class="{'right-2 bottom-2':editEnabled}"
data-testid="attachment-cell-file-picker-button"
@click.stop="isVisible = !isVisible"

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

@ -237,7 +237,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8))
<component
:is="iconMap.expand"
class="transform dark:(!text-white) group-hover:(!text-accent scale-120) text-gray-500 text-[0.75rem]"
class="transform dark:(!text-white) group-hover:(!text-grey-800 scale-120) text-gray-500 text-[0.75rem]"
@click.stop="modalVisible = true"
/>
</NcTooltip>

Loading…
Cancel
Save