소스 검색

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

Fixed multi line in users list
tags/v14.0.0beta1
Morris Jobke 6 년 전
부모
커밋
e3be9efd57
No account linked to committer's email address
3개의 변경된 파일26개의 추가작업 그리고 1개의 파일을 삭제
  1. 24
    0
      settings/css/settings.scss
  2. 1
    1
      settings/js/settings-vue.js.map
  3. 1
    0
      settings/src/components/userList/userRow.vue

+ 24
- 0
settings/css/settings.scss 파일 보기

@@ -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
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 1
- 0
settings/src/components/userList/userRow.vue 파일 보기

@@ -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…
취소
저장