Ellipsize sharer name, ref #6498
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
ecd728c3b2
commit
06691611e3
|
@ -617,6 +617,16 @@ a.action > img {
|
||||||
opacity: .7;
|
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 .action.action-favorite.permanent {
|
#fileList .action.action-favorite.permanent {
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||||
filter: alpha(opacity=100);
|
filter: alpha(opacity=100);
|
||||||
|
|
|
@ -47,8 +47,8 @@ table td.filename .nametext {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
/* hide text of the share action on mobile */
|
/* hide text of the share action on mobile */
|
||||||
#fileList a.action-share span {
|
#fileList a.action-share span:not(.icon) {
|
||||||
display: none;
|
display: none !important;
|
||||||
}
|
}
|
||||||
#fileList a.action.action-favorite {
|
#fileList a.action.action-favorite {
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)" !important;
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)" !important;
|
||||||
|
|
Loading…
Reference in New Issue