fix: Remove non-functional Tailwind class for SegmentationPanel (#4745)

This commit is contained in:
Celian-abd 2025-01-31 16:07:55 +01:00 committed by GitHub
parent e3967e62f2
commit 32017d15a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,12 +33,9 @@ export const SegmentationSegments: React.FC<{
return null;
}
const segmentCount = Object.keys(representationToUse.segments).length;
const height = mode === 'collapsed' ? 'h-[900px]' : `h-[${segmentCount * 200}px]`;
return (
<ScrollArea
className={`ohif-scrollbar invisible-scrollbar bg-bkg-low space-y-px ${height}`}
className={`ohif-scrollbar invisible-scrollbar bg-bkg-low space-y-px h-[900px]`}
showArrows={true}
>
{Object.values(representationToUse.segments).map(segment => {