if text doesn't fit replace with ... code example
Example: text overflow ellipsis css
div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}