Skip to content

Commit

Permalink
feat: add indent for sublists of dynamic nav
Browse files Browse the repository at this point in the history
  • Loading branch information
chargome committed Jul 26, 2024
1 parent 143f4f0 commit 10e1bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dynamicNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function DynamicNav({
<li className="mb-3" data-sidebar-branch>
{header}
{(!collapse || isActive) && entity.children && (
<ul data-sidebar-tree>
<ul data-sidebar-tree className="pl-3">
{prependLinks &&
prependLinks.map(link => (
<SidebarLink to={link[0]} key={link[0]} title={link[1]} path={linkPath} />
Expand Down

0 comments on commit 10e1bdc

Please sign in to comment.