javascript text ends with dots if too long code example
Example: overflow dottet
.cut-text {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.cut-text {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}