Browse Source

fix: Improved sidebar scrollbar layout and resiable bar placement

pull/6444/head
Muhammed Mustafa 1 year ago
parent
commit
b77dac0c94
  1. 2
      packages/nc-gui/components/dashboard/Sidebar.vue
  2. 4
      packages/nc-gui/components/dashboard/View.vue

2
packages/nc-gui/components/dashboard/Sidebar.vue

@ -43,7 +43,7 @@ onUnmounted(() => {
</div> </div>
<div <div
ref="treeViewDom" ref="treeViewDom"
class="flex flex-col nc-scrollbar-sm-dark flex-grow" class="flex flex-col nc-scrollbar-dark-md flex-grow"
:class="{ :class="{
'border-t-1': !isSharedBase, 'border-t-1': !isSharedBase,
'border-transparent': !isTreeViewOnScrollTop, 'border-transparent': !isTreeViewOnScrollTop,

4
packages/nc-gui/components/dashboard/View.vue

@ -154,13 +154,13 @@ watch(route, () => {
.splitpanes__splitter:hover:before { .splitpanes__splitter:hover:before {
@apply bg-scrollbar; @apply bg-scrollbar;
width: 3px !important; width: 3px !important;
left: -3px; left: 0px;
} }
.splitpanes--dragging .splitpanes__splitter:before { .splitpanes--dragging .splitpanes__splitter:before {
@apply bg-scrollbar; @apply bg-scrollbar;
width: 3px !important; width: 3px !important;
left: -3px; left: 0px;
} }
.splitpanes--dragging .splitpanes__splitter { .splitpanes--dragging .splitpanes__splitter {

Loading…
Cancel
Save