refactor(sidebar): update sidebar resizing logic to use pointer events; enhance drag cursor handling and improve sidebar width persistence

This commit is contained in:
Anish Sarkar 2026-05-04 01:47:17 +05:30
parent 331589275b
commit 147be71238
5 changed files with 208 additions and 166 deletions

View file

@ -137,7 +137,7 @@ function CollapsedOverlay({ item }: { item: NavItem }) {
export function NavSection({ items, onItemClick, isCollapsed = false }: NavSectionProps) {
return (
<div className={cn("flex flex-col gap-0.5 py-2", isCollapsed && "items-center")}>
<div className="flex flex-col gap-0.5 py-2">
{items.map((item) => {
const { tooltip } = getStatusInfo(item.statusIndicator);