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] 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) => {
-
+
{