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 { 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,26 +60,28 @@ const StudyBrowser = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<ScrollArea>
|
||||||
className="ohif-scrollbar invisible-scrollbar bg-bkg-low flex flex-1 flex-col gap-[4px] overflow-auto"
|
<div
|
||||||
data-cy={'studyBrowser-panel'}
|
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="flex flex-col gap-[4px]">
|
||||||
<div className="w-100 bg-bkg-low flex h-[48px] items-center justify-center gap-[10px] px-[8px] py-[10px]">
|
{showSettings && (
|
||||||
<>
|
<div className="w-100 bg-bkg-low flex h-[48px] items-center justify-center gap-[10px] px-[8px] py-[10px]">
|
||||||
<StudyBrowserViewOptions
|
<>
|
||||||
tabs={tabs}
|
<StudyBrowserViewOptions
|
||||||
onSelectTab={onClickTab}
|
tabs={tabs}
|
||||||
activeTabName={activeTabName}
|
onSelectTab={onClickTab}
|
||||||
/>
|
activeTabName={activeTabName}
|
||||||
<StudyBrowserSort servicesManager={servicesManager} />
|
/>
|
||||||
</>
|
<StudyBrowserSort servicesManager={servicesManager} />
|
||||||
</div>
|
</>
|
||||||
)}
|
</div>
|
||||||
{getTabContent()}
|
)}
|
||||||
|
{getTabContent()}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</ScrollArea>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user