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,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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user