fix(ui): Scrolling and display fixes for study panel (#4494)
This commit is contained in:
parent
2f7bb02387
commit
4f8281b04a
@ -71,10 +71,9 @@ const StudyBrowser = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="ohif-scrollbar invisible-scrollbar bg-bkg-low flex flex-1 flex-col gap-[4px] overflow-auto"
|
className="ohif-scrollbar invisible-scrollbar bg-bkg-low flex flex-1 flex-col gap-[4px] overflow-auto pt-px"
|
||||||
data-cy={'studyBrowser-panel'}
|
data-cy={'studyBrowser-panel'}
|
||||||
>
|
>
|
||||||
<div>
|
|
||||||
{showSettings && (
|
{showSettings && (
|
||||||
<div className="w-100 bg-bkg-low flex h-[48px] items-center justify-center gap-[10px] px-[8px] py-[10px]">
|
<div className="w-100 bg-bkg-low flex h-[48px] items-center justify-center gap-[10px] px-[8px] py-[10px]">
|
||||||
<>
|
<>
|
||||||
@ -89,7 +88,6 @@ const StudyBrowser = ({
|
|||||||
)}
|
)}
|
||||||
{getTabContent()}
|
{getTabContent()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ const StudyItem = ({
|
|||||||
collapsible
|
collapsible
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
onKeyDown={() => {}}
|
onKeyDown={() => {}}
|
||||||
|
className="flex-shrink-0"
|
||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
defaultValue={isActive ? 'study-item' : undefined}
|
defaultValue={isActive ? 'study-item' : undefined}
|
||||||
|
|||||||
@ -70,7 +70,7 @@ const Thumbnail = ({
|
|||||||
<div
|
<div
|
||||||
className={classnames(
|
className={classnames(
|
||||||
'flex h-full w-full flex-col items-center justify-center gap-[2px] p-[4px]',
|
'flex h-full w-full flex-col items-center justify-center gap-[2px] p-[4px]',
|
||||||
isActive && 'bg-popover'
|
isActive && 'bg-popover rounded'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="h-[114px] w-[128px]">
|
<div className="h-[114px] w-[128px]">
|
||||||
@ -202,7 +202,7 @@ const Thumbnail = ({
|
|||||||
<div
|
<div
|
||||||
className={classnames(
|
className={classnames(
|
||||||
'flex h-full w-full items-center justify-between pr-[8px] pl-[8px] pt-[4px] pb-[4px]',
|
'flex h-full w-full items-center justify-between pr-[8px] pl-[8px] pt-[4px] pb-[4px]',
|
||||||
isActive && 'bg-popover'
|
isActive && 'bg-popover rounded'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="relative flex h-[32px] items-center gap-[8px]">
|
<div className="relative flex h-[32px] items-center gap-[8px]">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user