From 870823f199b15c5a308439f07c575209be391496 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 22 Aug 2022 09:12:11 +0200 Subject: [PATCH] chore(gui-v2): views sidebar style fixes --- packages/nc-gui-v2/assets/style.scss | 4 ++ .../smartsheet/sidebar/MenuBottom.vue | 57 ++---------------- .../components/smartsheet/sidebar/MenuTop.vue | 59 +++++++++++-------- .../smartsheet/sidebar/RenameableMenuItem.vue | 4 +- .../components/smartsheet/sidebar/index.vue | 4 +- .../pages/[projectType]/[projectId]/index.vue | 4 +- 6 files changed, 51 insertions(+), 81 deletions(-) diff --git a/packages/nc-gui-v2/assets/style.scss b/packages/nc-gui-v2/assets/style.scss index 6cd7093b8f..d986d865ea 100644 --- a/packages/nc-gui-v2/assets/style.scss +++ b/packages/nc-gui-v2/assets/style.scss @@ -210,6 +210,10 @@ a { } } +.ant-dropdown-menu { + @apply !p-0 !rounded; +} + .ant-dropdown-menu-submenu-popup { @apply scrollbar-thin-dull min-w-50 max-h-90vh overflow-auto !shadow !rounded; } diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue index 7e82bfc530..d88bf2030d 100644 --- a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue @@ -1,7 +1,6 @@ @@ -197,12 +212,10 @@ function onDeleted() { }" @change-view="changeView" @open-modal="$emit('openModal', $event)" - @delete="onDelete" + @delete="openDeleteDialog(view)" @rename="onRename" /> - -