Three lines of code
overflow: hidden; white-space: nowrap; text-overflow:ellipsis;
When the time does not work
Add a line in the parent element
min-width: 0
Three lines of code
overflow: hidden; white-space: nowrap; text-overflow:ellipsis;
When the time does not work
Add a line in the parent element
min-width: 0