Skip to content

Commit a803dbf

Browse files
authored
Fix horizontal scrollbar on desktop (#4038)
1 parent 8cd97ad commit a803dbf

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
@@ -123,7 +123,7 @@ export function MarkdownPage<
123123
flushWrapper('last');
124124

125125
return (
126-
<article className="h-full mx-auto relative w-screen min-w-0">
126+
<article className="h-full mx-auto relative w-full min-w-0">
127127
<div className="lg:pt-0 pt-20 pl-0 lg:pl-80 2xl:px-80 ">
128128
<Seo title={title} />
129129
{!isHomePage && (

beta/src/components/Layout/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function Page({routeTree, children}: PageProps) {
2323
<Sidebar />
2424
</div>
2525

26-
<div className="flex flex-1 h-full self-stretch">
26+
<div className="flex flex-1 w-full h-full self-stretch">
2727
<div className="w-full min-w-0">
2828
<main
2929
className="flex flex-1 self-stretch flex-col items-end"

0 commit comments

Comments
 (0)