mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
UI: Add overscroll to sidebar viewports
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
---
|
||||
|
||||
Add `overscroll` to sidebar viewports
|
||||
@@ -241,7 +241,7 @@ export function SidebarViewport(props: ScrollAreaProps) {
|
||||
return (
|
||||
<ScrollArea {...props} className={cn('h-full', props.className)}>
|
||||
<ScrollViewport
|
||||
className="p-4"
|
||||
className="p-4 overscroll-contain"
|
||||
style={
|
||||
{
|
||||
'--sidebar-item-offset': 'calc(var(--spacing) * 2)',
|
||||
|
||||
Reference in New Issue
Block a user