added a max height for report stuff

This commit is contained in:
Nate Kelley 2025-09-24 08:13:14 -06:00
parent 2922660f75
commit 3ab6a656ba
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 2 deletions

View File

@ -36,6 +36,7 @@ export const MetricElement = withHOC(
const isFocused = useFocused(); const isFocused = useFocused();
const showFocused = isSelected && isFocused; const showFocused = isSelected && isFocused;
const className = cn( const className = cn(
'max-h-[390px]',
showFocused && 'ring-ring bg-brand/5 ring-1 ring-offset-4' showFocused && 'ring-ring bg-brand/5 ring-1 ring-offset-4'
); );
@ -132,8 +133,7 @@ const MetricResizeContainer: React.FC<PropsWithChildren<{ isTable: boolean }>> =
<div <div
// ref={handleRef} // ref={handleRef}
className={cn( className={cn(
'hax-h-[400px]', !isTable && 'min-h-[390px]',
!isTable && 'min-h-64',
!height && !isTable && 'min-h-[390px]' !height && !isTable && 'min-h-[390px]'
// isDragging && 'cursor-grabbing opacity-50' // isDragging && 'cursor-grabbing opacity-50'
)} )}