[ADF-4376] Fix Sticky Header in Datatable Component (#4582)

* [ADF-4376] Fix Sticky Header in Datatable Component

* [ADF-4374] Rebase branch

* remove search from permissions test

* remove search from permissions test
This commit is contained in:
davidcanonieto
2019-04-12 17:27:51 +01:00
committed by Eugenio Romano
parent 4215666a96
commit 4cc449dfbb
8 changed files with 28 additions and 410 deletions

View File

@@ -334,9 +334,7 @@
}
.adf-datatable-cell-value {
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
word-break: break-word;
padding: 0 10px;
}
@@ -504,20 +502,20 @@
.adf-sticky-header {
border-top: 0;
max-width: calc(100% - 0.2em);
height: 100%;
.adf-datatable-header {
position: absolute;
background-color: mat-color($background, card);
display: flex;
z-index: 10;
display: block;
margin-right: 0;
border-top: $data-table-dividers;
border-bottom: $data-table-dividers;
width: calc(100% - 17.4em);
}
.adf-datatable-body {
margin-top: 57px;
display: block;
flex: 1;
overflow-y: scroll;
margin-top: -1px;
}
}