fix: add back study browser scrollbar (#4942)

This commit is contained in:
Pedro Köhler 2025-04-11 13:41:16 -03:00 committed by GitHub
parent 4926a9532c
commit ed94df0dfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
import { StudyItem } from '../StudyItem'; import { StudyItem } from '../StudyItem';
import { StudyBrowserSort } from '../StudyBrowserSort'; import { StudyBrowserSort } from '../StudyBrowserSort';
import { StudyBrowserViewOptions } from '../StudyBrowserViewOptions'; import { StudyBrowserViewOptions } from '../StudyBrowserViewOptions';
import { ScrollArea } from '../ScrollArea';
const noop = () => {}; const noop = () => {};
@ -59,8 +60,9 @@ const StudyBrowser = ({
}; };
return ( return (
<ScrollArea>
<div <div
className="ohif-scrollbar invisible-scrollbar bg-bkg-low flex flex-1 flex-col gap-[4px] overflow-auto" className="bg-bkg-low flex flex-1 flex-col gap-[4px]"
data-cy={'studyBrowser-panel'} data-cy={'studyBrowser-panel'}
> >
<div className="flex flex-col gap-[4px]"> <div className="flex flex-col gap-[4px]">
@ -79,6 +81,7 @@ const StudyBrowser = ({
{getTabContent()} {getTabContent()}
</div> </div>
</div> </div>
</ScrollArea>
); );
}; };