初始化
This commit is contained in:
17
src/assets/css/common.less
Normal file
17
src/assets/css/common.less
Normal file
@@ -0,0 +1,17 @@
|
||||
.text-el-line{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.text-el-line1{
|
||||
.text-el-line();
|
||||
-webkit-line-clamp: 1;
|
||||
}
|
||||
|
||||
.text-el-line2{
|
||||
.text-el-line();
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
Reference in New Issue
Block a user