mirror of https://github.com/buster-so/buster.git
added a max height for report stuff
This commit is contained in:
parent
2922660f75
commit
3ab6a656ba
|
@ -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'
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue