Browse Source

fix(nc-gui): cursor issue on workspace image

pull/9722/head
Ramesh Mane 6 days ago
parent
commit
9d6ca11229
  1. 8
      packages/nc-gui/components/general/WorkspaceIconSelector.vue

8
packages/nc-gui/components/general/WorkspaceIconSelector.vue

@ -106,7 +106,7 @@ const imageCropperData = ref({
uploadConfig: { uploadConfig: {
path: [NOCO, 'workspace', currentWorkspace.value?.id, 'icon'].join('/'), path: [NOCO, 'workspace', currentWorkspace.value?.id, 'icon'].join('/'),
scope: PublicAttachmentScope.WORKSPACEPICS, scope: PublicAttachmentScope.WORKSPACEPICS,
maxFileSize: 2 * 1024 * 1024 maxFileSize: 2 * 1024 * 1024,
}, },
}) })
@ -253,7 +253,7 @@ watch(isOpen, (newValue) => {
iconType: vIconType, iconType: vIconType,
}" }"
size="xlarge" size="xlarge"
class="!w-full !h-full !min-w-full rounded-none select-none" class="!w-full !h-full !min-w-full rounded-none select-none cursor-pointer"
/> />
</div> </div>
<template #overlay> <template #overlay>
@ -453,6 +453,10 @@ watch(isOpen, (newValue) => {
:deep(.ant-input::placeholder) { :deep(.ant-input::placeholder) {
@apply text-gray-500; @apply text-gray-500;
} }
:deep(.nc-workspace-avatar img) {
@apply !cursor-pointer;
}
</style> </style>
<style> <style>

Loading…
Cancel
Save