You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: drop the parent's filled pill when an admin sidebar sub-item is active
Both the Services parent and the Catalog leaf use href `/admin/services`, so MUI's `selected` prop turned both into the same filled teal pill stacked directly on top of each other — visually a single mass with two halves of identical colour. Add a `sectionActive` mode for the parent NavLink: when one of its sub-items is the deepest match, suppress the filled background and instead render with bold + accent-coloured text and icon. The leaf sub-item is now the only entry that draws the eye, while the parent still reads as "this is the section you're in".
0 commit comments