From 608b73ac931bc9329c915c8f3ddb4edb50232dcc Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 22 Dec 2023 11:01:21 +0000 Subject: [PATCH] merge fix --- packages/nc-gui/assets/style.scss | 26 +++++++++++++++++++- packages/nc-gui/components/cell/TextArea.vue | 17 ++++++++++--- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index a17cc73f88..b9d6529c4a 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -57,7 +57,7 @@ main { } .mobile { - .nc-scrollbar-md, .nc-scrollbar-x-md, .nc-scrollbar-dark-md, .nc-scrollbar-x-md-dark, .nc-scrollbar-x-lg { + .nc-scrollbar-md, .nc-scrollbar-lg, .nc-scrollbar-x-md, .nc-scrollbar-dark-md, .nc-scrollbar-x-md-dark, .nc-scrollbar-x-lg { &::-webkit-scrollbar { width: 0px; } @@ -88,6 +88,30 @@ main { } } +.nc-scrollbar-lg { + overflow-y: scroll; + overflow-x: hidden; + scrollbar-width: thin !important; + + &::-webkit-scrollbar { + width: 10px; + height: 10px; + } + &::-webkit-scrollbar-track-piece { + width: 0px; + } + &::-webkit-scrollbar { + @apply bg-transparent; + } + &::-webkit-scrollbar-thumb { + width: 4px; + @apply bg-gray-200; + } + &::-webkit-scrollbar-thumb:hover { + @apply bg-gray-300; + } +} + .nc-scrollbar-x-md { overflow-x: scroll; scrollbar-width: thin !important; diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index a1cc284f0e..f4c39842de 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -171,16 +171,16 @@ watch(editEnabled, () => {