I have a list of comments where I display some data. But when the comment is too large the list is strange because the line break does not happen correctly.
Hereisthecode:
<divclass="jumbotron">
<div layout="row" layout-margin>
<div flex="40">
<p>Comentários</p>
</div>
<div flex="30">
<md-button type="file" class="md-raised md-primary" style="width:100%;margin-left: 115%;margin-top: -1px;" data-toggle="modal"
data-target="#myModal"><i class="fa fa-files-o"></i>
Novo Comentário</md-button>
</div>
</div>
</br>
</br>
<ul class="list-group" ng-repeat="comentario in comentarios">
<li class="list-group-item">
<i class="fa fa-user"></i>
<b>{{comentario.usuario.login}}</b><i class="fa fa-comment" style="margin-left: 40px;" ></i>{{comentario.comentario}}
<i class="fa fa-calendar" style="margin-left: 50px;"></i>{{comentario.dataComentario | date: "dd-MM-yyyy HH:mm"}}</li>
</ul>
</div>
How can I sort this list?
OBS: I am doing CSS
Inline for testing.