Skip to content

Commit 7e18063

Browse files
committed
fix: allow padding for container-bordering focus outlines
1 parent dc04859 commit 7e18063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Layout: React.FC<LayoutProps> = ({ children, pageContext }) => {
4242
<Header />
4343
<div className="flex pt-16 px-12 md:px-0 md:gap-12 lg:gap-16 xl:gap-20 justify-center">
4444
{leftSidebar ? <LeftSidebar /> : <div />}
45-
<Container as="main" className={cn('flex-1', { 'overflow-x-auto': !isRedocPage })}>
45+
<Container as="main" className={cn('flex-1 px-4 -mx-4', { 'overflow-x-auto': !isRedocPage })}>
4646
{leftSidebar ? <Breadcrumbs /> : <div />}
4747
{children}
4848
<Footer />

0 commit comments

Comments
 (0)