.text-overflow(@lineClamp:4) {
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box; /** **/
-webkit-box-orient: vertical; /** **/
-webkit-line-clamp: @lineClamp; /** **/
overflow: hidden;
//text-overflow: ellipsis;
//display: -webkit-box;
//-webkit-line-clamp: @lineClamp;
//-webkit-box-orient: vertical;
}
because now the data is sent through the editor, including multiple P tags
causes the current writing to be useless
can"t you limit the height of this part of the content?
what if you limit the height change under different screens