From 51ad4bf6899577fcb37e5c873ae1ccdb49a84118 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 9 Aug 2022 13:27:42 +0200 Subject: [PATCH] refactor(gui-v2): refactor tree view styles and replace scrollbar color --- packages/nc-gui-v2/assets/style-v2.scss | 4 +- .../components/cell/attachment/index.vue | 2 +- .../components/dashboard/TreeView.vue | 72 +++++++++++++++---- .../nc-gui-v2/components/smartsheet/Grid.vue | 2 +- .../components/smartsheet/sidebar/MenuTop.vue | 2 +- packages/nc-gui-v2/utils/viewUtils.ts | 1 - packages/nc-gui-v2/windi.config.ts | 2 + 7 files changed, 64 insertions(+), 21 deletions(-) diff --git a/packages/nc-gui-v2/assets/style-v2.scss b/packages/nc-gui-v2/assets/style-v2.scss index 6e80edfc09..9bc1f12ce1 100644 --- a/packages/nc-gui-v2/assets/style-v2.scss +++ b/packages/nc-gui-v2/assets/style-v2.scss @@ -18,7 +18,7 @@ main { } main { - @apply flex-0 w-full relative scrollbar-thin-primary; + @apply flex-0 w-full relative scrollbar-thin-dull; overflow-x: hidden; } @@ -106,5 +106,5 @@ html { } .ant-modal-wrap { - @apply !scrollbar-thin-primary; + @apply !scrollbar-thin-dull; } diff --git a/packages/nc-gui-v2/components/cell/attachment/index.vue b/packages/nc-gui-v2/components/cell/attachment/index.vue index 38c359203f..d1a385c2c9 100644 --- a/packages/nc-gui-v2/components/cell/attachment/index.vue +++ b/packages/nc-gui-v2/components/cell/attachment/index.vue @@ -100,7 +100,7 @@ onMounted(() => { - diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index 03e7001eca..e9fd0715a3 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -251,7 +251,7 @@ const onNavigate = (dir: NavigateDir) => {