diff --git a/packages/grafana-ui/src/components/Table/DefaultCell.tsx b/packages/grafana-ui/src/components/Table/DefaultCell.tsx index 6f5a87988d3..1f55e3cc588 100644 --- a/packages/grafana-ui/src/components/Table/DefaultCell.tsx +++ b/packages/grafana-ui/src/components/Table/DefaultCell.tsx @@ -7,7 +7,7 @@ import { TableCellBackgroundDisplayMode, TableCellOptions } from '@grafana/schem import { useStyles2 } from '../../themes'; import { getCellLinks, getTextColorForAlphaBackground } from '../../utils'; -import { Button, clearLinkButtonStyles } from '../Button'; +import { clearLinkButtonStyles } from '../Button'; import { DataLinksContextMenu } from '../DataLinks/DataLinksContextMenu'; import { CellActions } from './CellActions'; @@ -42,15 +42,17 @@ export const DefaultCell = (props: TableCellProps) => { {hasLinks && ( getCellLinks(field, row) || []}> {(api) => { - const content =
{value}
; if (api.openMenu) { return ( - + ); } else { - return content; + return
{value}
; } }}
diff --git a/packages/grafana-ui/src/components/Table/styles.ts b/packages/grafana-ui/src/components/Table/styles.ts index b8b05bc410f..ee871a2cd22 100644 --- a/packages/grafana-ui/src/components/Table/styles.ts +++ b/packages/grafana-ui/src/components/Table/styles.ts @@ -175,6 +175,7 @@ export function useTableStyles(theme: GrafanaTheme2, cellHeightOption: TableCell font-weight: ${theme.typography.fontWeightMedium}; &:hover { text-decoration: underline; + color: ${theme.colors.text.link}; } `, cellLinkForColoredCell: css`