fix: Scrollbars on the thumbnails to be auto visible (#2605)
The thumbnail view had hte scrollbars not visible and they didn't appear, and that made it hard to discover how to scroll.
This commit is contained in:
parent
987eceb40a
commit
c6a9571915
@ -1,6 +1,11 @@
|
||||
/* CUSTOM OHIF SCROLLBAR */
|
||||
.ohif-scrollbar {
|
||||
scrollbar-color: #3E5967 transparent;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.ohif-scrollbar:hover {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.ohif-scrollbar::-webkit-scrollbar {
|
||||
|
||||
@ -15,7 +15,7 @@ const MeasurementTable = ({ data, title, amount, onClick, onEdit }) => {
|
||||
</span>
|
||||
<span className="text-base font-bold text-white">{amount}</span>
|
||||
</div>
|
||||
<div className="overflow-x-hidden overflow-y-auto ohif-scrollbar max-h-112">
|
||||
<div className="overflow-hidden ohif-scrollbar max-h-112">
|
||||
{data.length !== 0 &&
|
||||
data.map((measurementItem, index) => (
|
||||
<MeasurementItem
|
||||
|
||||
@ -105,7 +105,7 @@ const StudyBrowser = ({
|
||||
})}
|
||||
</ButtonGroup>
|
||||
</div>
|
||||
<div className="flex flex-col flex-1 overflow-auto invisible-scrollbar">
|
||||
<div className="flex flex-col flex-1 overflow-auto">
|
||||
{getTabContent()}
|
||||
</div>
|
||||
</React.Fragment>
|
||||
|
||||
@ -11,7 +11,7 @@ const ThumbnailList = ({
|
||||
onClickUntrack,
|
||||
}) => {
|
||||
return (
|
||||
<div className="py-3 bg-black">
|
||||
<div className="py-3 bg-black overflow-y-hidden ohif-scrollbar">
|
||||
{thumbnails.map(
|
||||
({
|
||||
displaySetInstanceUID,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user