[WEB-2173] fix: app sidebar spacing and build error (#5300)

* fix: app sidebar spacing

* fix: build error
This commit is contained in:
Anmol Singh Bhatia 2024-08-05 15:13:51 +05:30 committed by GitHub
parent f9e7a5826b
commit 21343034c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 12 deletions

View file

@ -53,21 +53,23 @@ export const AppSidebar: FC<IAppSidebar> = observer(() => {
>
<div
ref={ref}
className={cn("size-full flex flex-col flex-1 p-4 pb-0", {
className={cn("size-full flex flex-col flex-1 pt-4 pb-0", {
"p-2": sidebarCollapsed,
})}
>
<SidebarDropdown />
<div className="flex-shrink-0 h-4" />
<SidebarAppSwitcher />
<SidebarQuickActions />
<div className="px-4">
<SidebarDropdown />
<div className="flex-shrink-0 h-4" />
<SidebarAppSwitcher />
<SidebarQuickActions />
</div>
<hr
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-1", {
"opacity-0": !sidebarCollapsed,
})}
/>
<div
className={cn("overflow-x-hidden scrollbar-sm h-full w-full overflow-y-auto px-2.5", {
className={cn("overflow-x-hidden scrollbar-sm h-full w-full overflow-y-auto px-4", {
"vertical-scrollbar": !sidebarCollapsed,
})}
>