Sfoglia il codice sorgente

Merge pull request #9970 from nextcloud/users-line-height-fix

Fixed multi line in users list
tags/v14.0.0beta1
Morris Jobke 6 anni fa
parent
commit
e3be9efd57
Nessun account collegato all'indirizzo email del committer

+ 24
- 0
settings/css/settings.scss Vedi File

@@ -1463,10 +1463,34 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
display: block !important;
}
}
/* inputs like mail, username, password */
&:not(.userActions) > input:not([type='submit']) {
width: 100%;
min-width: 0;
}
&.name {
word-break: break-all;
}
&.displayName,
&.mailAddress {
> input {
text-overflow: ellipsis;
}
}
&.name,
&.storageLocation {
/* better multi-line visual */
line-height: 1.3em;
max-height: 2.6em;
overflow : hidden;
/* not supported by all browsers
so we keep the overflow hidden
as a fallback */
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
&.quota {
.multiselect--active + progress {
display: none;

+ 1
- 1
settings/js/settings-vue.js.map
File diff soppresso perché troppo grande
Vedi File


+ 1
- 0
settings/src/components/userList/userRow.vue Vedi File

@@ -39,6 +39,7 @@
:srcset="generateAvatar(user.id, 64)+' 2x, '+generateAvatar(user.id, 128)+' 4x'"
v-if="!loading.delete && !loading.disable">
</div>
<!-- dirty hack to ellipsis on two lines -->
<div class="name">{{user.id}}</div>
<form class="displayName" :class="{'icon-loading-small': loading.displayName}" v-on:submit.prevent="updateDisplayName">
<input :id="'displayName'+user.id+rand" type="text"

Loading…
Annulla
Salva