@knkcs/anker 2.0.8 → 2.0.9

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.
@@ -1819,20 +1819,28 @@ var SidebarRoot = ({
1819
1819
  [collapsed, toggle]
1820
1820
  );
1821
1821
  return /* @__PURE__ */ jsx(SidebarContext.Provider, { value: ctx, children: /* @__PURE__ */ jsxs(
1822
- Flex,
1822
+ Box,
1823
1823
  {
1824
- "data-testid": "sidebar",
1825
- "data-collapsed": collapsed ? "true" : "false",
1826
- direction: "column",
1824
+ position: "relative",
1827
1825
  w: collapsed ? COLLAPSED_WIDTH2 : EXPANDED_WIDTH2,
1828
- minH: "100vh",
1829
- bg: "bg-canvas",
1830
- borderRightWidth: "1px",
1831
- borderRightColor: "border",
1832
1826
  transition: "width 250ms ease-out",
1833
- position: "relative",
1827
+ flexShrink: 0,
1834
1828
  children: [
1835
- children,
1829
+ /* @__PURE__ */ jsx(
1830
+ Flex,
1831
+ {
1832
+ "data-testid": "sidebar",
1833
+ "data-collapsed": collapsed ? "true" : "false",
1834
+ direction: "column",
1835
+ w: "full",
1836
+ minH: "100vh",
1837
+ bg: "bg-canvas",
1838
+ borderRightWidth: "1px",
1839
+ borderRightColor: "border",
1840
+ overflow: "hidden",
1841
+ children
1842
+ }
1843
+ ),
1836
1844
  /* @__PURE__ */ jsx(
1837
1845
  IconButton,
1838
1846
  {