fix(docs): fix horizontal scrolling example in scroll-shadow (#4820)

This commit is contained in:
Ryo Matsukawa 2025-02-11 22:02:48 +09:00 committed by GitHub
parent c659e2f215
commit 2913bfdb7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,9 @@ export const Content = () => (
export default function App() {
return (
<ScrollShadow className="max-w-[400px] max-h-[300px]" orientation="horizontal">
<Content className="w-[800px]" />
<div className="w-[800px]">
<Content />
</div>
</ScrollShadow>
);
}