.te-eils-2 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
overflow: hidden;
}
.box-cont-title-wrap {
width: 170px;
display: flex;
justify-content: space-between;
padding: 2px 10px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.a-btn {
background: yellowgreen;
white-space: nowrap;
}< /code>
test test test test test test test test test test test test
add
Как мы можем решить проблему без увеличения высоты или добавления каких-либо элементов? PrettyPrint-Override ">[code].te-eils-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; overflow: hidden; }