[style] max-width class to fulfill ellipsis usage requirement

This commit is contained in:
Prateeksha Singh 2018-06-21 22:45:12 +05:30
parent a50aeb2b23
commit f6472ba0b7

View file

@ -280,3 +280,9 @@ a.no-decoration& {
.ellipsis {
.text-ellipsis();
}
/* Given that the element that text-ellipsis is applied to,
should have a max width for it to work */
.ellipsis-width {
max-width: 200px;
}