Commit aae16db1 by 李长胜

修改

1 parent f6d6120a
...@@ -280,6 +280,7 @@ export default { ...@@ -280,6 +280,7 @@ export default {
} }
.expande-button-wrap { .expande-button-wrap {
position: absolute; position: absolute;
top: 24px;
right: 0; right: 0;
z-index: 99; z-index: 99;
.expande-button { .expande-button {
......
...@@ -89,7 +89,27 @@ ...@@ -89,7 +89,27 @@
background: -moz-linear-gradient(left, transparent, #fff 55%); background: -moz-linear-gradient(left, transparent, #fff 55%);
background: linear-gradient(to right, transparent, #fff 55%); background: linear-gradient(to right, transparent, #fff 55%);
} }
.ellipsis-4{
overflow: hidden;
height: 40px;
line-height: 20px;
position: relative;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
}
.ellipsis-4-text:after {
content: "...";
position: absolute;
bottom: 0;
right: 15px;
padding-left: 20px;
background: -webkit-linear-gradient(left, transparent, #fff 55%);
/*我在Safari上测试时发现透明到白色中间会有一个黑色的过渡后来我就写成-webkit-linear-gradient(left,rgba(255,255,255,0),rgba(255,255,255,1) 55%)*/
background: -o-linear-gradient(left, transparent, #fff 55%);
background: -moz-linear-gradient(left, transparent, #fff 55%);
background: linear-gradient(to right, transparent, #fff 55%);
}
.statusText { .statusText {
vertical-align: middle; vertical-align: middle;
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!