From 888667abbc9a9c38b592373a99e0a24e53d85300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=A4ggmark?= Date: Tue, 20 Apr 2021 15:06:29 +0200 Subject: [PATCH] Table: Fixes so border is visible for cells with links (#33160) --- packages/grafana-ui/src/components/Table/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Table/styles.ts b/packages/grafana-ui/src/components/Table/styles.ts index 8d3ed73fce8..f775ae27e49 100644 --- a/packages/grafana-ui/src/components/Table/styles.ts +++ b/packages/grafana-ui/src/components/Table/styles.ts @@ -27,7 +27,7 @@ export const getTableStyles = stylesFactory((theme: GrafanaTheme) => { ${color ? `color: ${color};` : ''}; ${background ? `background: ${background};` : ''}; - &:last-child { + &:last-child:not(:only-child) { border-right: none; padding-right: ${lastChildExtraPadding}px; }