Ellipsize sharer name, ref #6498

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-09-14 16:38:31 +02:00 committed by Morris Jobke
parent 99916a9bda
commit 64dd1f6833
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 12 additions and 2 deletions

View File

@ -617,6 +617,16 @@ a.action > img {
opacity: .7;
}
// Ellipsize long sharer names
#fileList .action.action-share.permanent.shared-style span:not(.icon) {
display: inline-block;
max-width: 70px;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: bottom;
padding-left: 6px;
}
#fileList .fileActionsMenu a.action:hover,
#fileList .fileActionsMenu a.action:focus,
/* show share action of shared items darker to distinguish from non-shared */

View File

@ -47,8 +47,8 @@ table td.filename .nametext {
margin-right: 6px;
}
/* hide text of the share action on mobile */
#fileList a.action-share span {
display: none;
#fileList a.action-share span:not(.icon) {
display: none !important;
}
#fileList a.action.action-favorite {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)" !important;