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; }