mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor(sidebar): update sidebar resizing logic to use pointer events; enhance drag cursor handling and improve sidebar width persistence
This commit is contained in:
parent
331589275b
commit
147be71238
5 changed files with 208 additions and 166 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue