Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions projects/components/src/table/table.component.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
@import 'mixins';
@import 'layout';

.table {
.table-container {
position: relative;
display: flex;
flex-direction: column;
flex: 1 1;
height: 100%;
width: 100%;
}

.table {
display: flex;
flex-direction: column;
flex: 1 1 0;
height: 100%;
width: 100%;
overflow: auto;
Expand Down Expand Up @@ -116,6 +123,7 @@
.pagination-controls {
position: fixed;
width: 100%;
height: #{$paginator-height};
bottom: 0;
background: white;
}
2 changes: 1 addition & 1 deletion projects/components/src/table/table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import { TableColumnConfigExtended, TableService } from './table.service';
styleUrls: ['./table.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
<div class="table">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same class was assigned to cdk-table too.

<div class="table-container">
<cdk-table
*ngIf="this.dataSource"
[multiTemplateDataRows]="this.isDetailType()"
Expand Down