File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
website/src/components/ui/common Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const SideNavigation = ({
1414 currentPath,
1515} : SideNavigationProps ) => {
1616 return (
17- < nav class = "folding flex-none w-full md:w-64 lg:w-72 bg-white border border-neutral-200/60 rounded-md mr-3.5 sticky top-0 h-screen 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-[60px] mt-4 mb-8 h-[calc(100vh-60px-1rem)] overflow-auto px-3.5 py-3" >
1818 < SiteTitle />
1919 < ul class = "space-y-1 text-xs text-neutral-700" >
2020 { docs &&
Original file line number Diff line number Diff 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 md:w-60 lg:w-72 mt-6 mb-8 px-3.5 py-3 border border-neutral-200/60 rounded-md bg-white sticky top-0 h-screen overflow-auto"
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"
1616 >
1717 < strong class = "block mb-2 text-xs text-neutral-500 font-semibold tracking-wide" >
1818 目次
You can’t perform that action at this time.
0 commit comments