Skip to content

Commit

Permalink
[Fix/BAR-278] overlay scrollbar 적용 (#96)
Browse files Browse the repository at this point in the history
fix: overlay scrollbar 적용
  • Loading branch information
miro-ring authored Mar 23, 2024
1 parent dc3275b commit 432a72e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"react-dom": "^18",
"react-notion-x": "^6.16.0",
"react-responsive-masonry": "^2.1.7",
"simplebar-react": "^3.2.4",
"zustand": "^4.4.7"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Head, Html, Main, NextScript } from 'next/document';
import SimpleBar from 'simplebar-react';

import { PORTAL_ID } from '@constants/portal';
import { pretendard } from '@styles/font';
Expand All @@ -8,7 +9,9 @@ const Document = () => {
<Html lang="ko">
<Head />
<body className={pretendard.className}>
<Main />
<SimpleBar>
<Main />
</SimpleBar>
{Object.values(PORTAL_ID).map((value) => (
<div key={value} id={value} />
))}
Expand Down
37 changes: 35 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 432a72e

Please sign in to comment.