change for multi-line-ellipsis css rule
This commit is contained in:
parent
65cbf342bc
commit
052d94e27c
|
@ -77,7 +77,7 @@
|
|||
/* background: rgba(0, 0, 0, 0) url("~src/assets/common-assets/external-link.svg") no-repeat scroll left center;*/
|
||||
/*}*/
|
||||
|
||||
.multi-line-ellipsis p {
|
||||
.multi-line-ellipsis > p {
|
||||
display: -webkit-box;
|
||||
autoprefixer: ignore next;
|
||||
-webkit-box-orient: vertical;
|
||||
|
@ -85,19 +85,19 @@
|
|||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.multi-line-ellipsis.line-1 p {
|
||||
.multi-line-ellipsis.line-1 > p {
|
||||
-webkit-line-clamp: 1;
|
||||
}
|
||||
|
||||
.multi-line-ellipsis.lines-2 p {
|
||||
.multi-line-ellipsis.lines-2 > p {
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.multi-line-ellipsis.lines-3 p {
|
||||
.multi-line-ellipsis.lines-3 > p {
|
||||
-webkit-line-clamp: 3;
|
||||
}
|
||||
|
||||
.multi-line-ellipsis.lines-10 p {
|
||||
.multi-line-ellipsis.lines-10 > p {
|
||||
-webkit-line-clamp: 10;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue