summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAbijeet <abijeetpatro@gmail.com>2018-02-25 20:10:56 +0530
committerAbijeet <abijeetpatro@gmail.com>2018-03-27 00:49:34 +0530
commit6d2716dceb7791ef23f56510f9ceb29144b62dc1 (patch)
treedc756e9fb3c0f21d294e7875c39b212086d15373 /apps
parent872853af58398c514eca40a014580a76d36a2da6 (diff)
downloadnextcloud-server-6d2716dceb7791ef23f56510f9ceb29144b62dc1.tar.gz
nextcloud-server-6d2716dceb7791ef23f56510f9ceb29144b62dc1.zip
Added ellipsis for longer usernames.
Towards #7281 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/comments/css/comments.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss
index 5e0bbce28a1..ec400a68090 100644
--- a/apps/comments/css/comments.scss
+++ b/apps/comments/css/comments.scss
@@ -159,11 +159,16 @@
.atwho-view-ul * .avatar-name-wrapper {
white-space: nowrap;
}
-
#commentsTabView .comment .author,
#commentsTabView .comment .date {
opacity: .5;
}
+#commentsTabView .comment .author {
+ max-width: 210px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
#commentsTabView .comment .date {
margin-left: auto;
/** this is to fix the tooltip being too close due to the margin-top applied