Skip to content

Commit

Permalink
add margin in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed May 2, 2024
1 parent 11f3c20 commit 8a21789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/app/src/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const SidebarInner = memo<SidebarProps>(function SidebarInner({
>
{tabs.length > 0 && (
<ul
className={cn("mt-5 flex list-none flex-col", {
className={cn("mt-5 mb-6 flex list-none flex-col", {
"lg:hidden": layout?.disableHeader !== true && layout?.tabsPlacement === "HEADER",
})}
>
Expand Down
3 changes: 3 additions & 0 deletions packages/ui/app/src/sidebar/SidebarApiSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ function SidebarApiSlugLink({ item, registerScrolledToPathListener, depth, api }
};
return (
<SidebarSlugLink
className={cn({
"first:mt-6": depth === 0,
})}
slug={item.slug}
shallow={shallow}
title={item.title}
Expand Down

0 comments on commit 8a21789

Please sign in to comment.