From 5a39f6172876ff15952406d56fc70aa116e9ad8d Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Mon, 2 Oct 2023 11:28:37 +0000 Subject: [PATCH] fix: fields design --- packages/nc-gui/components/smartsheet/Details.vue | 7 +++++++ packages/nc-gui/components/smartsheet/details/Fields.vue | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Details.vue b/packages/nc-gui/components/smartsheet/Details.vue index 7b6975c953..9f3c83e305 100644 --- a/packages/nc-gui/components/smartsheet/Details.vue +++ b/packages/nc-gui/components/smartsheet/Details.vue @@ -90,4 +90,11 @@ watch( :deep(.ant-tabs-nav) { min-height: calc(var(--topbar-height) - 1.75px); } + +:deep(.ant-tabs-content-holder) { + @apply h-[calc(100vh-(var(--topbar-height)*2.5))]; + .ant-tabs-content { + @apply !h-full; + } +} diff --git a/packages/nc-gui/components/smartsheet/details/Fields.vue b/packages/nc-gui/components/smartsheet/details/Fields.vue index 103e9f6071..eadf33eb4a 100644 --- a/packages/nc-gui/components/smartsheet/details/Fields.vue +++ b/packages/nc-gui/components/smartsheet/details/Fields.vue @@ -567,7 +567,7 @@ onMounted(async () => {