[style] max-width class to fulfill ellipsis usage requirement
This commit is contained in:
parent
a50aeb2b23
commit
f6472ba0b7
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue