Skip to content

Commit

Permalink
fix: sidebar scrolling (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbossart authored Nov 2, 2023
1 parent 1c347d5 commit 53f1165
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/dm-core-plugins/src/explorer/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ export default function Sidebar(props: TProps) {

return (
<div style={{ display: 'flex' }}>
<div style={{ width: `${width / 16}rem`, overflow: 'hidden' }}>
<div
style={{
width: `${width / 16}rem`,
overflowX: 'hidden',
overflowY: 'auto',
}}
>
{children}
</div>

Expand Down

0 comments on commit 53f1165

Please sign in to comment.