Skip to content

Commit 47c90f5

Browse files
authored
fix: サイドナビゲーションの位置を調整 (#196)
1 parent 34e5f83 commit 47c90f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/src/components/ui/common/SideNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const SideNavigation = ({
1414
currentPath,
1515
}: SideNavigationProps) => {
1616
return (
17-
<nav class="folding flex-none w-full bg-white border border-neutral-200/60 rounded-md sticky top-[60px] mt-4 mb-8 h-[calc(100vh-60px-1rem)] overflow-auto px-3.5 py-3">
17+
<nav class="folding flex-none w-full bg-white border border-neutral-200/60 rounded-md sticky top-[80px] mt-4 mb-8 h-[calc(100vh-80px-1rem)] overflow-auto px-3.5 py-3">
1818
<ul class="space-y-1 text-xs text-neutral-700">
1919
{docs?.map((firstLevel, idx) => (
2020
<>

website/src/components/ui/common/TableOfContents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const TableOfContents = ({ outline }: TableOfContentsProps) => {
1212
return (
1313
<nav
1414
id="page-overview"
15-
class="flex-none w-full px-3.5 py-3 border border-neutral-200/60 rounded-md bg-white sticky top-[60px] mt-4 mb-8 h-[calc(100vh-60px-1rem)] overflow-auto"
15+
class="flex-none w-full px-3.5 py-3 border border-neutral-200/60 rounded-md bg-white sticky top-[80px] mt-4 mb-8 h-[calc(100vh-80px-1rem)] overflow-auto"
1616
>
1717
<strong class="block mb-2 text-xs text-neutral-500 font-semibold tracking-wide">
1818
目次

0 commit comments

Comments
 (0)