Make the partner on 2 lines maximum with ellipsis (webkit only)

This commit is contained in:
Loïc Faure-Lacroix
2015-03-31 19:31:11 +03:00
committed by Joao Alfredo Gama Batista
parent b377165607
commit 266e1399b7

View File

@@ -37,11 +37,25 @@
width:100px;
}
.col_partner {
/*
Max of 2 lines in height
*/
line-height: 15px;
max-height: 30px;
width:150px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
div.col_partner {
display: -webkit-box;
/*
Enable ellipsis on webkit browser for 2 lines
*/
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.right_col {
text-align:right;
width:100px;