Skip to content

Commit a9b1426

Browse files
Merge branch 'main' into fix-explorer-sizing
2 parents 004ac73 + bba10d4 commit a9b1426

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ $header-height: 32px;
110110
border-bottom: unset;
111111
}
112112

113+
&.hide-divider {
114+
border-bottom: unset;
115+
}
116+
113117
.data-cell-renderer {
114118
display: block;
115119
height: 100%;

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ import { TableColumnConfigExtended, TableService } from './table.service';
106106
[style.margin-left]="index === 0 ? this.calcLeftMarginIndent(row) : 0"
107107
[style.margin-right]="index === 1 ? this.calcRightMarginIndent(row, columnDef) : 0"
108108
[ngClass]="{
109-
'detail-expanded': this.isDetailExpanded(row)
109+
'detail-expanded': this.isDetailExpanded(row),
110+
'hide-divider': this.isDetailList()
110111
}"
111112
class="data-cell"
112113
>
@@ -699,6 +700,10 @@ export class TableComponent
699700
return this.isDetailType() || this.isTreeType();
700701
}
701702

703+
public isDetailList(): boolean {
704+
return this.isDetailType() && this.display === TableStyle.List;
705+
}
706+
702707
public isDetailExpanded(row: StatefulTableRow): boolean {
703708
return this.isDetailType() && row.$$state.expanded;
704709
}

0 commit comments

Comments
 (0)