Skip to content

Commit d0d5f3e

Browse files
authored
Merge branch 'main' into feat/checkbox-control-value-accessor
2 parents 637da60 + 5b04a42 commit d0d5f3e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

projects/components/src/table/table.component.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ $header-height: 32px;
8484

8585
&.resizable {
8686
cursor: col-resize;
87+
8788
&:hover {
8889
padding: 0 2px;
8990

@@ -120,6 +121,12 @@ $header-height: 32px;
120121
}
121122
}
122123

124+
.last-row {
125+
.data-cell {
126+
border-color: transparent;
127+
}
128+
}
129+
123130
.state-watcher {
124131
top: $header-height;
125132
height: calc(100% - #{$header-height});

projects/components/src/table/table.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,13 @@ import { TableColumnConfigExtended, TableService } from './table.service';
144144
145145
<!-- Data Rows -->
146146
<cdk-row
147-
*cdkRowDef="let row; columns: this.visibleColumnIds$ | async"
147+
*cdkRowDef="let row; columns: this.visibleColumnIds$ | async; last as isLast"
148148
(mouseenter)="this.onDataRowMouseEnter(row)"
149149
(mouseleave)="this.onDataRowMouseLeave()"
150150
[ngClass]="{
151151
'selected-row': this.shouldHighlightRowAsSelection(row),
152152
'hovered-row': this.isHoveredRow(row),
153+
'last-row': isLast,
153154
selectable: this.supportsRowSelection()
154155
}"
155156
class="data-row"

0 commit comments

Comments
 (0)