span标签先向右浮动,再添加其他元素才可能导致后添加的元素显示不完全/文本溢出
<div class="list-group" >
<a target="_blank"
style="display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis"
href="/clueInfo/{{entity.id}}"
class="list-group-item"
ng-repeat="entity in content.content">
<span style="color: red;float: right;">
{{entity.updateTime|limitTo:19}}
</span>
{{entity.title}}
</a>
</div>