mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Make the partner on 2 lines maximum with ellipsis (webkit only)
This commit is contained in:
committed by
Joao Alfredo Gama Batista
parent
b377165607
commit
266e1399b7
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user