From 5b7d5adb5d620274eced46c23d93067a902dcb54 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 2 Oct 2023 11:43:01 +0000 Subject: [PATCH] fix: Fixed details tab --- packages/nc-gui/components/nc/Tabs.vue | 4 +++ .../nc-gui/components/smartsheet/Details.vue | 30 +++++++++++++++---- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/packages/nc-gui/components/nc/Tabs.vue b/packages/nc-gui/components/nc/Tabs.vue index de6d432d98..08647e7dc9 100644 --- a/packages/nc-gui/components/nc/Tabs.vue +++ b/packages/nc-gui/components/nc/Tabs.vue @@ -27,6 +27,10 @@ const props = defineProps<{ } } +.ant-tabs-tab + .ant-tabs-tab { + @apply ml-4; +} + .nc-tabs { .ant-tabs-tab { @apply px-2 text-gray-600 !hover:text-gray-800; diff --git a/packages/nc-gui/components/smartsheet/Details.vue b/packages/nc-gui/components/smartsheet/Details.vue index 7b6975c953..c206ae2827 100644 --- a/packages/nc-gui/components/smartsheet/Details.vue +++ b/packages/nc-gui/components/smartsheet/Details.vue @@ -2,6 +2,8 @@ const { openedViewsTab } = storeToRefs(useViewsStore()) const { onViewsTabChange } = useViewsStore() +const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) + const { isUIAllowed } = useRoles() const openedSubTab = computed({ @@ -30,8 +32,14 @@ watch(