mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Show long comment (#1354)
* #1324 long comment * #1324 use different css style * #1324 Fix long words without space
This commit is contained in:
committed by
Denys Vuika
parent
ccd8f64071
commit
4c522fabb8
@@ -17,3 +17,16 @@
|
||||
.material-icons {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.list-wrap {
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
-moz-hyphens:auto;
|
||||
-webkit-hyphens:auto;
|
||||
-o-hyphens:auto;
|
||||
hyphens:auto;
|
||||
}
|
||||
|
||||
.hide-long-names {
|
||||
overflow: auto;
|
||||
}
|
||||
|
@@ -7,11 +7,8 @@
|
||||
|
||||
<div class="menu-container" *ngIf="comments?.length > 0">
|
||||
<ul class='mdl-list'>
|
||||
<li class="mdl-list__item" *ngFor="let comment of comments">
|
||||
<span class="mdl-list__item-primary-content">
|
||||
<i class="material-icons mdl-list__item-icon">comment</i>
|
||||
{{comment.message}}
|
||||
</span>
|
||||
<li class="mdl-list__item list-wrap" *ngFor="let comment of comments">
|
||||
<span class="mdl-list__item-primary-content hide-long-names"><i class="material-icons mdl-list__item-icon">comment</i>{{comment.message}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user