Skip to content

Commit

Permalink
fix: update ScrollArea component in Layout to enforce overflow styles
Browse files Browse the repository at this point in the history
- Changed the overflow-y style in the ScrollArea component to use !important for better control over scrolling behavior.
- This adjustment aims to enhance the layout's usability and ensure consistent scrolling across the application.
  • Loading branch information
blinko-space committed Jan 9, 2025
1 parent 1575df7 commit eaf5a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const CommonLayout = observer(({
</header>
{/* backdrop pt-6 -mt-6 to fix the editor tooltip position */}

<ScrollArea onBottom={() => { }} className="h-[calc(100%_-_70px)] overflow-y-auto overflow-x-hidden">
<ScrollArea onBottom={() => { }} className="h-[calc(100%_-_70px)] !overflow-y-auto overflow-x-hidden">
<div className="relative flex h-full w-full flex-col rounded-medium layout-container" >
{children}
</div>
Expand Down

0 comments on commit eaf5a65

Please sign in to comment.