Skip to content

Commit 93d649a

Browse files
authored
fix(Sidebar): Prevent content scroll below opened sidebar (#733)
1 parent 0a1fa82 commit 93d649a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nordcloud/gnui",
33
"description": "Nordcloud Design System - a collection of reusable React components used in Nordcloud's SaaS products",
4-
"version": "10.4.4",
4+
"version": "10.4.5",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

src/components/sidebar/styles.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const Inner = styled.div<InnerProps>`
108108
${bp("xxl")`width: 30rem`};
109109
`}
110110
z-index: 2;
111+
overscroll-behavior: contain;
111112
`;
112113

113114
export const Container = styled.div`

0 commit comments

Comments
 (0)