From 60cc653e13f9c6e2186c9487970eef13d244d602 Mon Sep 17 00:00:00 2001 From: Sergej-Vlasov <37613182+Sergej-Vlasov@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:22:57 +0100 Subject: [PATCH] [release-11.6.4] Table: Fix cell border visibility (#107301) Table: Fix cell border visibility (#101951) fix(table): cell border visibility (cherry picked from commit b2247513742f05cba9fdceeb3cc05026de37f0a7) Co-authored-by: Ihor Yeromin --- packages/grafana-ui/src/components/Table/RowsList.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Table/RowsList.tsx b/packages/grafana-ui/src/components/Table/RowsList.tsx index 7c7ec32e154..2d8c104a4e2 100644 --- a/packages/grafana-ui/src/components/Table/RowsList.tsx +++ b/packages/grafana-ui/src/components/Table/RowsList.tsx @@ -351,7 +351,9 @@ export const RowsList = (props: RowsListProps) => { rowStyled={rowBg !== undefined} rowExpanded={rowExpanded} textWrapped={textWrapFinal !== undefined} - height={Number(style.height)} + // VariableSizeList overrides calculated in buildCellContainerStyle height of the cell, + // so we need to subtract 1 to respect the row border + height={Number(style.height) - 1} getActions={getActions} replaceVariables={replaceVariables} setInspectCell={setInspectCell}