Browse Source

Fix horizontal scrollbar on desktop (#4038)

main
Alexey Pyltsyn 3 years ago
committed by GitHub
parent
commit
a803dbfe19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/components/Layout/MarkdownPage.tsx
  2. 2
      beta/src/components/Layout/Page.tsx

2
beta/src/components/Layout/MarkdownPage.tsx

@ -123,7 +123,7 @@ export function MarkdownPage<
flushWrapper('last');
return (
<article className="h-full mx-auto relative w-screen min-w-0">
<article className="h-full mx-auto relative w-full min-w-0">
<div className="lg:pt-0 pt-20 pl-0 lg:pl-80 2xl:px-80 ">
<Seo title={title} />
{!isHomePage && (

2
beta/src/components/Layout/Page.tsx

@ -23,7 +23,7 @@ export function Page({routeTree, children}: PageProps) {
<Sidebar />
</div>
<div className="flex flex-1 h-full self-stretch">
<div className="flex flex-1 w-full h-full self-stretch">
<div className="w-full min-w-0">
<main
className="flex flex-1 self-stretch flex-col items-end"

Loading…
Cancel
Save