From c5c131014f7f4a770b8d2af63a7548e363e1f9a6 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 20 Aug 2022 14:01:27 +0530 Subject: [PATCH] refactor(gui-v2): view menu and gridview ui updates Signed-off-by: Pranav C --- packages/nc-gui-v2/assets/style.scss | 4 ++++ .../components/smartsheet-toolbar/LockType.vue | 2 +- .../components/smartsheet-toolbar/ViewActions.vue | 13 ++++++------- packages/nc-gui-v2/components/smartsheet/Grid.vue | 6 +++--- .../components/smartsheet/sidebar/index.vue | 8 +++----- .../smartsheet/sidebar/toolbar/AddRow.vue | 3 +-- .../smartsheet/sidebar/toolbar/Reload.vue | 4 +--- packages/nc-gui-v2/components/tabs/Smartsheet.vue | 2 +- .../pages/[projectType]/[projectId]/index.vue | 2 +- .../pages/[projectType]/[projectId]/index/index.vue | 4 ++-- 10 files changed, 23 insertions(+), 25 deletions(-) diff --git a/packages/nc-gui-v2/assets/style.scss b/packages/nc-gui-v2/assets/style.scss index 8da9a28bda..bd73a731d1 100644 --- a/packages/nc-gui-v2/assets/style.scss +++ b/packages/nc-gui-v2/assets/style.scss @@ -239,3 +239,7 @@ a { .ant-menu-title-content { @apply !py-0; } + +.ant-dropdown-menu-submenu-title{ + @apply !pr-2; +} diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/LockType.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/LockType.vue index 17fa013d6a..1432ba8fab 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/LockType.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/LockType.vue @@ -38,7 +38,7 @@ const selectedView = inject(ActiveViewInj)
- + {{ $t(types[type].title) }}
{{ types[type].subtitle }} diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue index 8ac8605327..d77b3227bc 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue @@ -142,7 +142,7 @@ async function changeLockType(type: LockType) {