mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
fix long names in columns (ellipsis-cell class) (#1775)
This commit is contained in:
committed by
Mario Romano
parent
a1afb728e1
commit
99a516249d
@@ -14,7 +14,6 @@
|
||||
:host .data-cell {
|
||||
cursor: default;
|
||||
}
|
||||
:host .cell-value {}
|
||||
|
||||
:host .column-header {
|
||||
cursor: pointer;
|
||||
@@ -35,17 +34,13 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
:host .ellipsis-cell > div
|
||||
{
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
/*height: 1em;*/
|
||||
|
||||
:host .ellipsis-cell .cell-container {
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
|
||||
/* visible content */
|
||||
:host .ellipsis-cell > div > span
|
||||
{
|
||||
:host .ellipsis-cell .cell-value {
|
||||
display: block;
|
||||
position: absolute;
|
||||
max-width: 100%;
|
||||
@@ -57,15 +52,13 @@
|
||||
|
||||
|
||||
/* cell stretching content */
|
||||
:host .ellipsis-cell > div:after
|
||||
{
|
||||
:host .ellipsis-cell > div:after {
|
||||
content: attr(title);
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
/* Utils */
|
||||
|
||||
:host .non-selectable {
|
||||
|
Reference in New Issue
Block a user