fumadocs-ui 15.7.2 → 15.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,7 +91,7 @@ export function SidebarFooter(props) {
91
91
  return (_jsx("div", { ...props, className: cn('flex flex-col border-t px-4 py-3', props.className), children: props.children }));
92
92
  }
93
93
  export function SidebarViewport(props) {
94
- return (_jsx(ScrollArea, { ...props, className: cn('h-full', props.className), children: _jsx(ScrollViewport, { className: "p-4", style: {
94
+ return (_jsx(ScrollArea, { ...props, className: cn('h-full', props.className), children: _jsx(ScrollViewport, { className: "p-4 overscroll-contain", style: {
95
95
  '--sidebar-item-offset': 'calc(var(--spacing) * 2)',
96
96
  maskImage: 'linear-gradient(to bottom, transparent, white 12px, white calc(100% - 12px), transparent)',
97
97
  }, children: props.children }) }));
package/dist/style.css CHANGED
@@ -1243,6 +1243,9 @@
1243
1243
  .overflow-y-auto {
1244
1244
  overflow-y: auto;
1245
1245
  }
1246
+ .overscroll-contain {
1247
+ overscroll-behavior: contain;
1248
+ }
1246
1249
  .rounded-2xl {
1247
1250
  border-radius: var(--radius-2xl);
1248
1251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "15.7.2",
3
+ "version": "15.7.3",
4
4
  "description": "The framework for building a documentation website in Next.js",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -121,7 +121,7 @@
121
121
  "react-medium-image-zoom": "^5.3.0",
122
122
  "scroll-into-view-if-needed": "^3.1.0",
123
123
  "tailwind-merge": "^3.3.1",
124
- "fumadocs-core": "15.7.2"
124
+ "fumadocs-core": "15.7.3"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@next/eslint-plugin-next": "^15.5.0",
@@ -134,7 +134,7 @@
134
134
  "tsc-alias": "^1.8.16",
135
135
  "@fumadocs/cli": "1.0.0",
136
136
  "eslint-config-custom": "0.0.0",
137
- "fumadocs-core": "15.7.2",
137
+ "fumadocs-core": "15.7.3",
138
138
  "tsconfig": "0.0.0"
139
139
  },
140
140
  "peerDependencies": {