From 083ebae58ddf50f5b1c67e191e82bffe5fc9d369 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 7 Dec 2022 16:45:21 +0100 Subject: [PATCH] [v9.3.x] Table: Fixes row border style not showing and colored rows blending together (#59693) --- packages/grafana-ui/src/components/Table/styles.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Table/styles.ts b/packages/grafana-ui/src/components/Table/styles.ts index 0f769c4c933..ebc27d5b979 100644 --- a/packages/grafana-ui/src/components/Table/styles.ts +++ b/packages/grafana-ui/src/components/Table/styles.ts @@ -37,7 +37,8 @@ export const getTableStyles = (theme: GrafanaTheme2) => { label: ${overflowOnHover ? 'cellContainerOverflow' : 'cellContainerNoOverflow'}; padding: ${cellPadding}px; width: 100%; - height: ${rowHeight}px; + // Cell height need to account for row border + height: ${rowHeight - 1}px; display: flex; align-items: center; border-right: 1px solid ${borderColor};