From 767cbf61d4fc3e82ba9429a72ca1f9259cb80b41 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Sun, 24 Sep 2023 17:39:22 +0530 Subject: [PATCH] fix: icon style --- packages/nc-gui/components.d.ts | 3 + .../smartsheet/expanded-form/Comments.vue | 37 +++- .../smartsheet/expanded-form/Header.vue | 202 ------------------ .../smartsheet/expanded-form/index.vue | 4 +- 4 files changed, 31 insertions(+), 215 deletions(-) delete mode 100644 packages/nc-gui/components/smartsheet/expanded-form/Header.vue diff --git a/packages/nc-gui/components.d.ts b/packages/nc-gui/components.d.ts index 3c29c8dd67..9eb5adba5b 100644 --- a/packages/nc-gui/components.d.ts +++ b/packages/nc-gui/components.d.ts @@ -135,8 +135,10 @@ declare module '@vue/runtime-core' { MdiDotsHorizontal: typeof import('~icons/mdi/dots-horizontal')['default'] MdiEye: typeof import('~icons/mdi/eye')['default'] MdiFileDocumentMultipleOutline: typeof import('~icons/mdi/file-document-multiple-outline')['default'] + MdiFileDocumentOutline: typeof import('~icons/mdi/file-document-outline')['default'] MdiFlag: typeof import('~icons/mdi/flag')['default'] MdiHeart: typeof import('~icons/mdi/heart')['default'] + MdiHistory: typeof import('~icons/mdi/history')['default'] MdiKeyStar: typeof import('~icons/mdi/key-star')['default'] MdiLinkVariant: typeof import('~icons/mdi/link-variant')['default'] MdiLoading: typeof import('~icons/mdi/loading')['default'] @@ -145,6 +147,7 @@ declare module '@vue/runtime-core' { MdiMagnify: typeof import('~icons/mdi/magnify')['default'] MdiMapMarkerOutline: typeof import('~icons/mdi/map-marker-outline')['default'] MdiMenuDown: typeof import('~icons/mdi/menu-down')['default'] + MdiMessageOutline: typeof import('~icons/mdi/message-outline')['default'] MdiMicrosoftTeams: typeof import('~icons/mdi/microsoft-teams')['default'] MdiMoonFull: typeof import('~icons/mdi/moon-full')['default'] MdiMoreVert: typeof import('~icons/mdi/more-vert')['default'] diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue index f002ec2141..8dd937cdad 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue @@ -3,6 +3,7 @@ import type { VNodeRef } from '@vue/runtime-core' import type { AuditType } from 'nocodb-sdk' import { Icon } from '@iconify/vue' import { ref, timeAgo, useExpandedFormStoreOrThrow, useGlobal, useRoles, watch } from '#imports' +import FileIcon from '~icons/nc-icons/file' const { loadCommentsAndLogs, commentsAndLogs, isYou, saveComment, comment, updateComment } = useExpandedFormStoreOrThrow() @@ -104,22 +105,28 @@ watch(
-
Comments
+
+ + Comments +
-
Audits
+
+ + Audits +
@@ -129,12 +136,12 @@ watch( ref="commentsWrapperEl" class="flex flex-col m-1 p-1 !h-[calc(100vh-300px)] overflow-y-scroll nc-scrollbar-md space-y-2" > -