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 */
|
/* CUSTOM OHIF SCROLLBAR */
|
||||||
.ohif-scrollbar {
|
.ohif-scrollbar {
|
||||||
scrollbar-color: #3E5967 transparent;
|
scrollbar-color: #3E5967 transparent;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ohif-scrollbar:hover {
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ohif-scrollbar::-webkit-scrollbar {
|
.ohif-scrollbar::-webkit-scrollbar {
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const MeasurementTable = ({ data, title, amount, onClick, onEdit }) => {
|
|||||||
</span>
|
</span>
|
||||||
<span className="text-base font-bold text-white">{amount}</span>
|
<span className="text-base font-bold text-white">{amount}</span>
|
||||||
</div>
|
</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.length !== 0 &&
|
||||||
data.map((measurementItem, index) => (
|
data.map((measurementItem, index) => (
|
||||||
<MeasurementItem
|
<MeasurementItem
|
||||||
|
|||||||
@ -105,7 +105,7 @@ const StudyBrowser = ({
|
|||||||
})}
|
})}
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col flex-1 overflow-auto invisible-scrollbar">
|
<div className="flex flex-col flex-1 overflow-auto">
|
||||||
{getTabContent()}
|
{getTabContent()}
|
||||||
</div>
|
</div>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|||||||
@ -11,7 +11,7 @@ const ThumbnailList = ({
|
|||||||
onClickUntrack,
|
onClickUntrack,
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
<div className="py-3 bg-black">
|
<div className="py-3 bg-black overflow-y-hidden ohif-scrollbar">
|
||||||
{thumbnails.map(
|
{thumbnails.map(
|
||||||
({
|
({
|
||||||
displaySetInstanceUID,
|
displaySetInstanceUID,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user