fix long names in columns (ellipsis-cell class) (#1775)

This commit is contained in:
Denys Vuika
2017-03-28 09:47:01 +01:00
committed by Mario Romano
parent a1afb728e1
commit 99a516249d
2 changed files with 7 additions and 14 deletions

View File

@@ -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 {