Skip to content

Commit

Permalink
Merge pull request #431 from gertrude-app/docs-overflow-fix
Browse files Browse the repository at this point in the history
site: fixed pink blur overflowing on mobile docs pages
  • Loading branch information
jaredh159 authored Dec 27, 2024
2 parents 6f4cbaf + fbc54ad commit 1e976a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site/app/docs/[slug]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ const DocsLayout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
const [sidebarOpen, setSidebarOpen] = useState(false);
return (
<html lang="en" className="scroll-smooth">
<body className="bg-white flex relative overflow-x-clip">
<div className="absolute h-[100vw] w-screen -right-[50vh] -top-[50vw] [background:radial-gradient(#fae8ff,transparent_75%)]"></div>
<body className="bg-white flex relative overflow-x-hidden">
<div className="absolute w-screen h-screen left-0 top-0 pointer-events-none overflow-hidden">
<div className="absolute h-[100vw] w-screen -right-[50vh] -top-[50vw] [background:radial-gradient(#fae8ff,transparent_75%)]"></div>
</div>
<Sidebar open={sidebarOpen} setOpen={setSidebarOpen} />
<main className="flex-grow lg:ml-80">
<header className="p-6 xs:p-8 flex justify-between lg:hidden fixed top-0 z-20">
Expand Down

0 comments on commit 1e976a0

Please sign in to comment.