diff --git a/packages/grafana-ui/src/components/Table/ImageCell.tsx b/packages/grafana-ui/src/components/Table/ImageCell.tsx index 33c87d22b9f..d4a164cebce 100644 --- a/packages/grafana-ui/src/components/Table/ImageCell.tsx +++ b/packages/grafana-ui/src/components/Table/ImageCell.tsx @@ -8,6 +8,8 @@ import { DataLinksContextMenu } from '../DataLinks/DataLinksContextMenu'; import { TableCellProps } from './types'; +const DATALINKS_HEIGHT_OFFSET = 10; + export const ImageCell = (props: TableCellProps) => { const { field, cell, tableStyles, row, cellProps } = props; @@ -20,7 +22,10 @@ export const ImageCell = (props: TableCellProps) => {
{!hasLinks && } {hasLinks && ( - getCellLinks(field, row) || []}> + getCellLinks(field, row) || []} + > {(api) => { const img = ; if (api.openMenu) {