gov-layout 1.2.0 → 1.2.1

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.
package/dist/index.mjs CHANGED
@@ -855,7 +855,7 @@ function StaffSidebar({
855
855
  collapsed
856
856
  }
857
857
  ),
858
- /* @__PURE__ */ jsx(
858
+ /* @__PURE__ */ jsx("div", { style: { flex: 1, overflowY: "auto", minHeight: 0 }, children: /* @__PURE__ */ jsx(
859
859
  SidebarMenu,
860
860
  {
861
861
  menuItems,
@@ -863,26 +863,34 @@ function StaffSidebar({
863
863
  currentPath,
864
864
  collapsed
865
865
  }
866
- ),
867
- resolvedBottomMenu && resolvedBottomMenu.length > 0 && /* @__PURE__ */ jsx(
868
- SidebarMenu,
869
- {
870
- menuItems: resolvedBottomMenu,
871
- onItemClick: onNavigate,
872
- currentPath,
873
- collapsed
874
- }
875
- ),
876
- /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
877
- /* @__PURE__ */ jsx(
878
- SidebarUserProfile,
879
- {
880
- user,
881
- roleLabel,
882
- onLogout,
883
- collapsed
884
- }
885
- )
866
+ ) }),
867
+ /* @__PURE__ */ jsxs("div", { style: { flexShrink: 0 }, children: [
868
+ resolvedBottomMenu && resolvedBottomMenu.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
869
+ /* @__PURE__ */ jsx("hr", { style: {
870
+ border: "none",
871
+ borderTop: "1px solid var(--color-border-colors-neutral, #c8cedd)",
872
+ margin: "4px 12px"
873
+ } }),
874
+ /* @__PURE__ */ jsx(
875
+ SidebarMenu,
876
+ {
877
+ menuItems: resolvedBottomMenu,
878
+ onItemClick: onNavigate,
879
+ currentPath,
880
+ collapsed
881
+ }
882
+ )
883
+ ] }),
884
+ /* @__PURE__ */ jsx(
885
+ SidebarUserProfile,
886
+ {
887
+ user,
888
+ roleLabel,
889
+ onLogout,
890
+ collapsed
891
+ }
892
+ )
893
+ ] })
886
894
  ]
887
895
  }
888
896
  ),