Skip to content

Commit 8fdfad3

Browse files
authored
Merge pull request #3524 from RedisInsight/fe/bugfix/RI-5865
#RI-5865 - fix table borders
2 parents 31b0df8 + f390cb6 commit 8fdfad3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

redisinsight/ui/src/components/virtual-table/styles.module.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ $footerHeight: 38px;
191191

192192
:global(.ReactVirtualized__Table__headerRow) {
193193
border: 1px solid var(--separatorColorLight) !important;
194-
// fix border alignment, need to investigate why this happens
195-
padding: 0 !important;
196194
}
197195

198196
:global(.ReactVirtualized__Table__rowColumn) {
@@ -218,6 +216,11 @@ $footerHeight: 38px;
218216

219217
:global(.ReactVirtualized__Table__headerColumn) {
220218
border-right-color: var(--separatorColorLight) !important;
219+
220+
&:last-child {
221+
// fix border alignment, need to investigate why this happens
222+
margin-left: -2px !important;
223+
}
221224
}
222225
}
223226
}
@@ -253,7 +256,6 @@ $footerHeight: 38px;
253256
}
254257

255258
.value-table-separate-border {
256-
// border-right-color: var(--tableLightestBorderColor) !important;
257259
box-sizing: content-box;
258260
}
259261

0 commit comments

Comments
 (0)