mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-11 12:49:30 +08:00
新增:文章详情原文链接、访问密码功能
This commit is contained in:
@@ -153,3 +153,22 @@
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* 文本省略样式 开始 */
|
||||
.text-sub-one {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 多行文本省略 */
|
||||
@for $i from 2 through 30 {
|
||||
.text-sub-more-#{$i} {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: $i;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
/* 文本省略样式 结束 */
|
||||
|
||||
Reference in New Issue
Block a user