snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
16
apps/v4/app/(app)/(create)/components/preview-style.tsx
Normal file
16
apps/v4/app/(app)/(create)/components/preview-style.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
"use client"
|
||||
|
||||
export function PreviewStyle() {
|
||||
return (
|
||||
<style jsx global>{`
|
||||
html {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user