Merge branch 'development' into next-release-3.2.0

This commit is contained in:
Eugenio Romano
2019-03-27 14:30:33 +00:00
committed by Eugenio Romano
120 changed files with 1583 additions and 13770 deletions

View File

@@ -160,10 +160,12 @@
</ng-container>
</div>
<div *ngIf="col.template" class="adf-datatable-cell-container">
<ng-container
[ngTemplateOutlet]="col.template"
[ngTemplateOutletContext]="{ $implicit: { data: data, row: row, col: col }, value: data.getValue(row, col) }">
</ng-container>
<div class="adf-cell-value">
<ng-container
[ngTemplateOutlet]="col.template"
[ngTemplateOutletContext]="{ $implicit: { data: data, row: row, col: col }, value: data.getValue(row, col) }">
</ng-container>
</div>
</div>
</div>

View File

@@ -332,6 +332,11 @@
text-overflow: ellipsis;
word-break: break-all;
}
&:focus {
outline-offset: -1px;
outline: #448aff solid 1px;
}
}
.adf-cell-value {
@@ -466,17 +471,13 @@
/* mobile phone */
@media all and (max-width: 768px) {
.adf-desktop-only {
display: none;
}
.adf-sticky-header {
width: 100%;
display: none !important;
}
}
@media (max-device-width: 768px) {
.adf-desktop-only {
display: none;
display: none !important;
}
}
@@ -496,6 +497,8 @@
.adf-sticky-header {
border-top: 0;
max-width: calc(100% - 0.2em);
.adf-datatable-header {
position: absolute;
background-color: mat-color($background, card);
@@ -503,7 +506,7 @@
z-index: 10;
border-top: $data-table-dividers;
border-bottom: $data-table-dividers;
width: calc(100% - 16em);
width: calc(100% - 17.4em);
}
.adf-datatable-body {