fix(nc-gui): project overview tab scroll issue

This commit is contained in:
Ramesh Mane
2025-07-04 07:40:24 +00:00
parent d4f0014887
commit 9d83f4e0d2
2 changed files with 11 additions and 3 deletions

View File

@@ -72,7 +72,13 @@ const onCreateSyncClick = () => {
</script>
<template>
<div class="nc-all-tables-view px-6 pt-6">
<div
class="nc-all-tables-view p-6 nc-scrollbar-thin"
:style="{
height: 'calc(100vh - var(--topbar-height) - 44px)',
}"
>
<div class="text-subHeading2 text-nc-content-gray mb-6">{{ $t('labels.actions') }}</div>
<div
class="flex flex-row gap-6 pb-2 flex-wrap max-w-[1000px]"
:class="{

View File

@@ -185,7 +185,7 @@ onMounted(() => {
<template #leftExtra>
<div class="w-3"></div>
</template>
<a-tab-pane v-if="!isAdminPanel" key="overview">
<a-tab-pane v-if="!isAdminPanel" key="overview" class="nc-project-overview-tab-content">
<template #tab>
<div class="tab-title" data-testid="proj-view-tab__all-tables">
<GeneralIcon icon="ncMultiCircle" />
@@ -288,7 +288,9 @@ onMounted(() => {
@apply pt-2 pb-3;
}
:deep(.ant-tabs-content) {
@apply nc-content-max-w;
&:not(:has(.nc-project-overview-tab-content)) {
@apply nc-content-max-w;
}
}
:deep(.ant-tabs-tab .tab-title) {
@apply text-gray-500;