[ADF-1615] Datatable - The ellipsis class doesn't work for a custom template (#2398)

* Added ellipsis property for data-column rendered using custom html template
This commit is contained in:
madhukar23
2017-09-29 20:42:23 +05:30
committed by Eugenio Romano
parent 809e14d641
commit 016e786531
10 changed files with 137 additions and 47 deletions

View File

@@ -202,15 +202,24 @@
height: 1em;
}
.cell-container > * {
display: block;
position: absolute;
max-width: calc(100% - 2em);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.12em;
}
/* visible content */
.cell-value {
display: block;
position: absolute;
max-width: 100%;
max-width: calc(100% - 2em);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
/* for vertical align of text */
line-height: 1.12em;
}