summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-12 15:28:37 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 14:08:38 +0200
commitf8f6529653299e64a900fe2044760310b9c7765a (patch)
treef2a38fd73bec66fc9cc9b9ec2db7556814cba649 /settings/src
parenta4b5ff8420a074550c61292d29bb23f24b159795 (diff)
downloadnextcloud-server-f8f6529653299e64a900fe2044760310b9c7765a.tar.gz
nextcloud-server-f8f6529653299e64a900fe2044760310b9c7765a.zip
Fixed multi line in users list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/components/userList/userRow.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/src/components/userList/userRow.vue b/settings/src/components/userList/userRow.vue
index 22439b32cb9..7a9f665d1db 100644
--- a/settings/src/components/userList/userRow.vue
+++ b/settings/src/components/userList/userRow.vue
@@ -39,7 +39,8 @@
:srcset="generateAvatar(user.id, 64)+' 2x, '+generateAvatar(user.id, 128)+' 4x'"
v-if="!loading.delete && !loading.disable">
</div>
- <div class="name">{{user.id}}</div>
+ <!-- dirty hack to ellipsis on two lines -->
+ <div class="name">{{user.id.substr(0, 40)}}{{user.id.substr(0, 40).length===40?'...':''}}</div>
<form class="displayName" :class="{'icon-loading-small': loading.displayName}" v-on:submit.prevent="updateDisplayName">
<input :id="'displayName'+user.id+rand" type="text"
:disabled="loading.displayName||loading.all"