This commit is contained in:
lyswhut
2022-10-29 11:36:35 +08:00
parent 66b965d9f7
commit e45cee6596
715 changed files with 57096 additions and 31771 deletions
+7 -2
View File
@@ -7,14 +7,14 @@
white-space: nowrap;
text-overflow: ellipsis;
}
.mixin-ellipsis() {
.mixin-ellipsis(@n: 1) {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
word-break: break-all;
white-space: normal !important;
-webkit-line-clamp: 1;
-webkit-line-clamp: @n;
-webkit-box-orient: vertical;
}
.mixin-ellipsis-2() {
@@ -28,3 +28,8 @@
-webkit-box-orient: vertical;
}
.mixin-after() {
display: block;
position: absolute;
content: '';
}