mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
4215666a96
commit
4cc449dfbb
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user