mirror of https://github.com/buster-so/buster.git
Merge pull request #1108 from buster-so/big-nate-bus-1891-tables-on-reports-should-hug-rows-have-a-max-height
Big nate bus 1891 tables on reports should hug rows have a max height
This commit is contained in:
commit
62c77455c5
|
@ -35,7 +35,10 @@ export const MetricElement = withHOC(
|
|||
const isSelected = useSelected();
|
||||
const isFocused = useFocused();
|
||||
const showFocused = isSelected && isFocused;
|
||||
const className = cn(showFocused && 'ring-ring bg-brand/5 ring-1 ring-offset-4');
|
||||
const className = cn(
|
||||
'max-h-[390px]',
|
||||
showFocused && 'ring-ring bg-brand/5 ring-1 ring-offset-4'
|
||||
);
|
||||
|
||||
const { data: selectedChartType } = useGetMetric(
|
||||
{ id: metricId },
|
||||
|
@ -130,7 +133,7 @@ const MetricResizeContainer: React.FC<PropsWithChildren<{ isTable: boolean }>> =
|
|||
<div
|
||||
// ref={handleRef}
|
||||
className={cn(
|
||||
!isTable && 'min-h-64',
|
||||
!isTable && 'min-h-[390px]',
|
||||
!height && !isTable && 'min-h-[390px]'
|
||||
// isDragging && 'cursor-grabbing opacity-50'
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue