Skip to content

Commit

Permalink
fix: prevent results panel from scrolling past the bottom of the table
Browse files Browse the repository at this point in the history
Fixes #570
  • Loading branch information
stdavis committed Sep 21, 2023
1 parent 817bfc1 commit f38b3c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/ResultsPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ export default function ResultsPanel() {
initialHeight={originalHeight}
/>
<div
className={clsx(
'relative w-full border-t border-slate-300',
!expandedTableIndex && 'overflow-y-auto',
)}
className="relative w-full border-t border-slate-300"
style={{
height: `${height}px`,
}}
Expand Down

0 comments on commit f38b3c2

Please sign in to comment.