I am attempting to apply a text-overflow property to links within a bootstrap list-group. Each list item also includes a bootstrap badge floated to the right. However, when I add the text-overflow property, the link ends up going underneath the badge instead of being truncated. Below is the CSS code snippet I am using for the forum-link class attached to each anchor tag:
.forum-link
{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
For reference, here is the jsFiddle with the corresponding code - http://jsfiddle.net/tdmoneybanks/c3hsa2y2/7/