Skip to content

Commit ec4a1ce

Browse files
committed
Update layout styles in documentation for improved responsiveness
1 parent 5ff31f2 commit ec4a1ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/content/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ import Image from 'next/image'
3636
</a>
3737
</div>
3838

39-
<div className='w-full aspect-video rounded-xl overflow-hidden mt-8 lg:-mx-8'>
39+
<div className='lg:w-[calc(100%+4rem)] aspect-video rounded-xl overflow-hidden mt-8 lg:-mx-8'>
4040
<ReactQueryProvider>
4141
<Application className='hover:cursor-grab active:cursor-grabbing w-full' fillMode="NONE" resolutionMode="AUTO">
4242
<Example/>
4343
</Application>
4444
</ReactQueryProvider>
4545
</div>
4646

47-
<div className="flex flex-row gap-6 my-4 -mt-12 justify-end">
47+
<div className="flex flex-row gap-6 my-4 -mt-12 justify-end pr-8 lg:pr-0">
4848
<a className="group shadow flex items-center -ml-2 flex-row gap-2 bg-muted rounded-full p-2 px-4 max-w-fit transition-colors duration-150" href="https://codesandbox.io/p/sandbox/playcanvas-react-nwlrlm" target="_blank">
4949
<Codesandbox size={14} className="hidden md:block text-muted-foreground group-hover:text-foreground" />
5050
<div className="text-xs font-medium text-muted-foreground group-hover:text-foreground transition-colors duration-150">Open in Codesandbox</div>

0 commit comments

Comments
 (0)