fix(thumbnails): expand multi studies scrollbar (#3224)

made per study scrollbars visible
This commit is contained in:
Braden Morley 2023-03-09 19:25:05 +00:00 committed by GitHub
parent 7a591b87a2
commit b9dbc5b3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,10 @@
scrollbar-gutter: stable;
}
.study-min-height {
min-height: 450px;
}
.ohif-scrollbar:hover {
overflow-y: auto;
}

View File

@ -109,7 +109,7 @@ const StudyBrowser = ({
})}
</ButtonGroup>
</div>
<div className="flex flex-col flex-1 overflow-auto">
<div className="flex flex-col flex-1 overflow-auto ohif-scrollbar invisible-scrollbar">
{getTabContent()}
</div>
</React.Fragment>
@ -171,7 +171,7 @@ StudyBrowser.propTypes = {
),
};
const noop = () => {};
const noop = () => { };
StudyBrowser.defaultProps = {
onClickTab: noop,

View File

@ -12,7 +12,7 @@ const ThumbnailList = ({
activeDisplaySetInstanceUIDs = [],
}) => {
return (
<div className="py-3 bg-black overflow-y-hidden ohif-scrollbar">
<div className="py-3 bg-black overflow-y-hidden ohif-scrollbar study-min-height">
{thumbnails.map(
({
displaySetInstanceUID,