Skip to content

Commit 551a978

Browse files
authored
fixed the footer space issue (#494)
* fixed the footer space issue * Change the class name to 'h-screen.'
1 parent 74711cd commit 551a978

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/Layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function Layout({
6161
<main
6262
className={classnames(
6363
mainClassName,
64-
'z-10 xl:rounded-xl pt-4 mx-auto',
64+
'z-10 h-screen xl:rounded-xl pt-4 mx-auto',
6565
)}
6666
>
6767
<header

components/Sidebar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const SidebarLayout = ({ children }: { children: React.ReactNode }) => {
183183
</div>
184184
</div>
185185

186-
<div className='max-w-[1400px] mx-auto grid grid-cols-1 lg:grid-cols-4 mx-4 md:mx-12'>
186+
<div className='max-w-[1400px] grid grid-cols-1 lg:grid-cols-4 mx-4 md:mx-12'>
187187
<div className='hidden lg:block mt-24'>
188188
<DocsNav />
189189
<CarbonAds

0 commit comments

Comments
 (0)