From d811955c0f4afb053dc8303adc67ad97dd18a4a0 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 22 May 2024 04:59:25 +0000 Subject: [PATCH 1/3] fix(nc-gui): expanded form comment & audit tab flickering issue --- .../nc-gui/components/smartsheet/expanded-form/Comments.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue index 30e73d2dad..f152e53541 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue @@ -389,7 +389,7 @@ watch(commentsWrapperEl, () => { .ant-tabs-nav { @apply px-3; .ant-tabs-nav-list { - @apply w-full gap-6; + @apply w-[99%] mx-auto gap-6; .ant-tabs-tab { @apply flex-1 flex items-center justify-center pt-3 pb-2.5; From b0f482801aab025aa03e4f21e2d8fd0e449613ec Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 22 May 2024 04:59:25 +0000 Subject: [PATCH 2/3] fix(nc-gui): audit table overflow issue --- .../dashboard/settings/BaseAudit.vue | 29 +++++++++++++++++-- .../dashboard/settings/DataSources.vue | 2 +- .../dashboard/settings/Metadata.vue | 28 ++++++++++++++++-- .../components/dashboard/settings/UIAcl.vue | 2 +- .../nc-gui/components/dlg/ProjectAudit.vue | 2 +- packages/nc-gui/components/general/Modal.vue | 2 +- 6 files changed, 57 insertions(+), 8 deletions(-) diff --git a/packages/nc-gui/components/dashboard/settings/BaseAudit.vue b/packages/nc-gui/components/dashboard/settings/BaseAudit.vue index 873b9d07d6..f6bcdfc9b6 100644 --- a/packages/nc-gui/components/dashboard/settings/BaseAudit.vue +++ b/packages/nc-gui/components/dashboard/settings/BaseAudit.vue @@ -103,7 +103,7 @@ const columns = [ -
+
{{ $t('title.auditLogs') }}
-
+
diff --git a/packages/nc-gui/components/dashboard/settings/Metadata.vue b/packages/nc-gui/components/dashboard/settings/Metadata.vue index 604eba5103..12c646f9e6 100644 --- a/packages/nc-gui/components/dashboard/settings/Metadata.vue +++ b/packages/nc-gui/components/dashboard/settings/Metadata.vue @@ -140,9 +140,9 @@ const columns = [
-
+
+:deep(.nc-metasync-table) { + @apply !h-[calc(100%_-_102px)]; + + .ant-spin-nested-loading, + .ant-spin-container, + .ant-table, + .ant-table-container, + table { + @apply !h-full; + } + .ant-table-thead { + @apply sticky top-0 w-full z-10; + } + .ant-table-content { + @apply !h-auto max-h-full overflow-auto nc-scrollbar-thin; + + tr { + height: auto !important; + } + } +} + diff --git a/packages/nc-gui/components/dashboard/settings/UIAcl.vue b/packages/nc-gui/components/dashboard/settings/UIAcl.vue index 711f116685..b7afb980d7 100644 --- a/packages/nc-gui/components/dashboard/settings/UIAcl.vue +++ b/packages/nc-gui/components/dashboard/settings/UIAcl.vue @@ -159,7 +159,7 @@ const toggleSelectAll = (role: Role) => {
-
+
{ -
+
@@ -340,7 +340,7 @@ const openedTab = ref('erd')
{{ $t('labels.metaSync') }}
-
+
diff --git a/packages/nc-gui/components/dashboard/settings/Metadata.vue b/packages/nc-gui/components/dashboard/settings/Metadata.vue index 12c646f9e6..7fc4dbc05b 100644 --- a/packages/nc-gui/components/dashboard/settings/Metadata.vue +++ b/packages/nc-gui/components/dashboard/settings/Metadata.vue @@ -108,8 +108,8 @@ const columns = [