mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
fix: Docs layout CSS conflict fix
This commit is contained in:
@@ -200,6 +200,7 @@ export default function Layout({ children }: LayoutProps) {
|
||||
width={siteConfig.innerPageLogo.size}
|
||||
height={siteConfig.innerPageLogo.size}
|
||||
style={{ height: siteConfig.innerPageLogo.size, width: "auto" }}
|
||||
fetchPriority="high"
|
||||
/>
|
||||
</Link>
|
||||
)}
|
||||
@@ -315,10 +316,12 @@ export default function Layout({ children }: LayoutProps) {
|
||||
</nav>
|
||||
</MobileMenu>
|
||||
|
||||
{/* Use wider layout for stats and blog pages, normal layout for other pages */}
|
||||
{/* Use wider layout for stats, blog, and docs pages, normal layout for other pages */}
|
||||
<main
|
||||
className={
|
||||
location.pathname === "/stats" || location.pathname === "/blog"
|
||||
location.pathname === "/stats" ||
|
||||
location.pathname === "/blog" ||
|
||||
isDocsPage
|
||||
? "main-content-wide"
|
||||
: "main-content"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user