@pablo2410/shared-ui 0.28.0 → 0.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ import {
13
13
  Tooltip,
14
14
  TooltipContent,
15
15
  TooltipTrigger
16
- } from "./chunk-JEHQIJS2.js";
16
+ } from "./chunk-DASELJBB.js";
17
17
  import {
18
18
  cn
19
19
  } from "./chunk-JT3XLKKD.js";
@@ -725,4 +725,4 @@ export {
725
725
  hierarchyCodeFor,
726
726
  HierarchyNavigator
727
727
  };
728
- //# sourceMappingURL=chunk-RSFGV7CG.js.map
728
+ //# sourceMappingURL=chunk-5YS2PQN3.js.map
@@ -4375,7 +4375,14 @@ function SidebarContent({ className, ...props }) {
4375
4375
  "data-slot": "sidebar-content",
4376
4376
  "data-sidebar": "content",
4377
4377
  className: cn(
4378
- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
4378
+ // Direct children (section headings, menu lists) default to
4379
+ // flex-shrink: 1 as flex items, so when the whole menu is taller
4380
+ // than the sidebar, the browser squeezes the last menu list instead
4381
+ // of leaving it full height — its items keep their own height, so
4382
+ // the squeeze just makes the list spill under the next heading
4383
+ // (#119). shrink-0 forces every direct child to stay full height,
4384
+ // so overflow-auto scrolls the content instead of compressing it.
4385
+ "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden [&>*]:shrink-0",
4379
4386
  className
4380
4387
  ),
4381
4388
  ...props
@@ -5357,4 +5364,4 @@ export {
5357
5364
  ToggleGroup,
5358
5365
  ToggleGroupItem
5359
5366
  };
5360
- //# sourceMappingURL=chunk-JEHQIJS2.js.map
5367
+ //# sourceMappingURL=chunk-DASELJBB.js.map