溢出隐藏
This commit is contained in:
@@ -223,6 +223,9 @@ export default {
|
||||
|
||||
.phe_context {
|
||||
.phe_context_title {
|
||||
overflow:hidden; //超出的文本隐藏
|
||||
text-overflow:ellipsis; //溢出用省略号显示
|
||||
white-space:nowrap; //溢出不换行
|
||||
cursor: pointer;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
@@ -239,6 +242,9 @@ export default {
|
||||
font-size: 1.6rem;
|
||||
color: #565656;
|
||||
letter-spacing: 1px;
|
||||
display:-webkit-box; //作为弹性伸缩盒子模型显示。
|
||||
-webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
|
||||
-webkit-line-clamp:3; //显示的行
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user