Browse Source

refactor(gui): hide sidebar shadow in navbar part

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4996/head
Pranav C 2 years ago
parent
commit
0a8594d347
  1. 9
      packages/nc-gui/pages/[projectType]/[projectId]/index.vue

9
packages/nc-gui/pages/[projectType]/[projectId]/index.vue

@ -254,7 +254,7 @@ useEventListener(document, 'keydown', async (e: KeyboardEvent) => {
<div
style="height: var(--header-height); border-bottom-width: 1px"
:class="isOpen ? 'pl-4' : ''"
class="flex items-center !bg-white-500 text-primary px-1 gap-1 border-gray-200"
class="flex items-center !bg-white-500 text-primary px-1 gap-1 border-gray-200 nc-sidebar-header"
>
<div
v-if="isOpen && !isSharedBase"
@ -604,4 +604,11 @@ useEventListener(document, 'keydown', async (e: KeyboardEvent) => {
:deep(.ant-dropdown-menu-submenu-title) {
@apply py-0;
}
.nc-sidebar-header{
@apply relative;
&::after{
@apply absolute content-[''] -right-1 top-0 w-1 h-full bg-white;
}
}
</style>

Loading…
Cancel
Save