diff --git a/ui/nuxeo-document-comments/nuxeo-document-comment.js b/ui/nuxeo-document-comments/nuxeo-document-comment.js
index 4a2c1018c2..cae7204ecc 100644
--- a/ui/nuxeo-document-comments/nuxeo-document-comment.js
+++ b/ui/nuxeo-document-comments/nuxeo-document-comment.js
@@ -127,6 +127,21 @@ import '../nuxeo-button-styles.js';
outline: auto;
}
}
+ .user-tag-nowrap {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 75px;
+ }
+
+ .user-tag-wrap {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 75px;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ }