From 9bc4dddb7f4596233c8bd26a626bacb8960103e0 Mon Sep 17 00:00:00 2001 From: sergeyteleshev Date: Fri, 18 Oct 2024 18:09:44 +0200 Subject: [PATCH] CB-5793 removes extra space for table cells --- .../src/DataGrid/DataGridTable.module.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridTable.module.css b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridTable.module.css index 6a89725eed..60fc542ed7 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridTable.module.css +++ b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridTable.module.css @@ -57,15 +57,17 @@ border-bottom-color: var(--theme-positive) !important; } - :global(.rdg-cell:first-child) { - border-left: 2px solid rgba(0, 0, 0, 0) !important; - } - :global(.rdg-cell-custom-highlighted-row) { background: var(--data-grid-selected-row-color) !important; - &:global(.rdg-cell:first-child) { - border-left: 2px solid var(--data-grid-index-cell-border-color) !important; + &:global(.rdg-cell:first-child::before) { + position: absolute; + content: ''; + top: 0; + left: 0; + width: 2px; + height: 100%; + background-color: var(--data-grid-index-cell-border-color); } }