Skip to content

Commit 19dd357

Browse files
committed
[Beta] style: home page and nav rm top-16 and pt-20
1 parent 3fd1139 commit 19dd357

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

beta/src/components/Layout/MarkdownPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export function MarkdownPage<
117117

118118
return (
119119
<article className="h-full mx-auto relative w-full min-w-0">
120-
<div className="lg:pt-0 pt-20 pl-0 lg:pl-80 2xl:px-80 ">
120+
<div className="lg:pt-0 sm:pt-10 pl-0 lg:pl-80 2xl:px-80 ">
121121
<Seo title={title} />
122122
{!isHomePage && (
123123
<PageHeading

beta/src/components/Layout/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function Page({routeTree, children}: PageProps) {
1919
<MenuProvider>
2020
<SidebarContext.Provider value={routeTree}>
2121
<div className="h-auto lg:h-screen flex flex-row">
22-
<div className="no-bg-scrollbar h-auto lg:h-[calc(100%-40px)] lg:overflow-y-scroll fixed flex flex-row lg:flex-col py-0 top-16 sm:top-10 left-0 right-0 lg:max-w-xs w-full shadow lg:shadow-none z-50">
22+
<div className="no-bg-scrollbar h-auto lg:h-[calc(100%-40px)] lg:overflow-y-scroll fixed flex flex-row lg:flex-col py-0 top-0 sm:top-0 left-0 right-0 lg:max-w-xs w-full shadow lg:shadow-none z-50">
2323
<Nav />
2424
<Sidebar />
2525
</div>

0 commit comments

Comments
 (0)