Skip to content

Commit a1a7af5

Browse files
authored
Merge pull request #230 from iamejaaz/3-attempt-sticky-columns
fix: add border to sticky column
2 parents 2f91666 + c9d34ea commit a1a7af5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/style.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@
7070
display: none;
7171
}
7272

73-
&:last-child:not(.dt-row-filter) {
73+
&:last-child:not(.dt-row-filter) .dt-cell {
7474
border-bottom: 1px solid var(--dt-border-color);
7575
}
7676
}
7777

7878
.dt-cell {
7979
border: 1px solid var(--dt-border-color);
8080
border-bottom: none;
81-
border-right: none;
81+
border-left: none;
8282
position: relative;
8383
outline: none;
8484
padding: 0;
@@ -92,6 +92,10 @@
9292
background-clip: padding-box;
9393
user-select: none;
9494

95+
&:first-child {
96+
border-left: 1px solid var(--dt-border-color);
97+
}
98+
9599
&__content {
96100
padding: var(--dt-spacer-2);
97101
border: var(--dt-focus-border-width) solid transparent;

0 commit comments

Comments
 (0)