scroll more reliable

This commit is contained in:
Nate Kelley 2025-04-11 13:32:34 -06:00
parent 5e2033e2f4
commit 1efc0653d4
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 18 additions and 16 deletions

View File

@ -89,7 +89,7 @@ export const MetricStylingApp: React.FC<{
); );
return ( return (
<div className="flex h-full w-full flex-col pt-3"> <div className="flex h-full w-full flex-col overflow-hidden pt-3">
<MetricStylingAppSegment <MetricStylingAppSegment
className="px-4" className="px-4"
segment={segment} segment={segment}

View File

@ -28,7 +28,8 @@ export const AvailableItemsList: React.FC<AvailableItemsListProps> = ({
(isOver || isActive) && activeZone !== SelectAxisContainerId.Available; (isOver || isActive) && activeZone !== SelectAxisContainerId.Available;
return ( return (
<StylingLabel id="available-items-list" label="Available" ref={setNodeRef}> <div ref={setNodeRef}>
<StylingLabel id="available-items-list" label="Available">
<div <div
className={cn( className={cn(
'mb-1', 'mb-1',
@ -43,5 +44,6 @@ export const AvailableItemsList: React.FC<AvailableItemsListProps> = ({
))} ))}
</div> </div>
</StylingLabel> </StylingLabel>
</div>
); );
}; };