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