0
I have a list of comments where I display some data. But when the comment is too big the list gets strange because the lines break does not happen correctly.
Here is the code:
<div class="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 get this list?
OBS: I’m making CSS
Inline for testing.
Possible duplicate of I need a function to add <br> under certain conditions
– Gabriel Rodrigues
Possible duplicate of How to adjust the height of the div according to the text?
– Guilherme Nascimento