fix: add back study browser scrollbar (#4942)
This commit is contained in:
parent
4926a9532c
commit
ed94df0dfe
@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
|
||||
import { StudyItem } from '../StudyItem';
|
||||
import { StudyBrowserSort } from '../StudyBrowserSort';
|
||||
import { StudyBrowserViewOptions } from '../StudyBrowserViewOptions';
|
||||
import { ScrollArea } from '../ScrollArea';
|
||||
|
||||
const noop = () => {};
|
||||
|
||||
@ -59,26 +60,28 @@ const StudyBrowser = ({
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
className="ohif-scrollbar invisible-scrollbar bg-bkg-low flex flex-1 flex-col gap-[4px] overflow-auto"
|
||||
data-cy={'studyBrowser-panel'}
|
||||
>
|
||||
<div className="flex flex-col gap-[4px]">
|
||||
{showSettings && (
|
||||
<div className="w-100 bg-bkg-low flex h-[48px] items-center justify-center gap-[10px] px-[8px] py-[10px]">
|
||||
<>
|
||||
<StudyBrowserViewOptions
|
||||
tabs={tabs}
|
||||
onSelectTab={onClickTab}
|
||||
activeTabName={activeTabName}
|
||||
/>
|
||||
<StudyBrowserSort servicesManager={servicesManager} />
|
||||
</>
|
||||
</div>
|
||||
)}
|
||||
{getTabContent()}
|
||||
<ScrollArea>
|
||||
<div
|
||||
className="bg-bkg-low flex flex-1 flex-col gap-[4px]"
|
||||
data-cy={'studyBrowser-panel'}
|
||||
>
|
||||
<div className="flex flex-col gap-[4px]">
|
||||
{showSettings && (
|
||||
<div className="w-100 bg-bkg-low flex h-[48px] items-center justify-center gap-[10px] px-[8px] py-[10px]">
|
||||
<>
|
||||
<StudyBrowserViewOptions
|
||||
tabs={tabs}
|
||||
onSelectTab={onClickTab}
|
||||
activeTabName={activeTabName}
|
||||
/>
|
||||
<StudyBrowserSort servicesManager={servicesManager} />
|
||||
</>
|
||||
</div>
|
||||
)}
|
||||
{getTabContent()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ScrollArea>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user