summaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-09-14 16:38:31 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-09-14 16:38:31 +0200
commit06691611e3b09d15b4109afa0c36fbf9592fffe7 (patch)
treeefde1538d0aa7bd29e37a2a4507c3b5515ae7f4d /apps/files/css
parentecd728c3b2ad67ef19d44f177132e39007f226fc (diff)
downloadnextcloud-server-06691611e3b09d15b4109afa0c36fbf9592fffe7.tar.gz
nextcloud-server-06691611e3b09d15b4109afa0c36fbf9592fffe7.zip
Ellipsize sharer name, ref #6498
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/files.scss10
-rw-r--r--apps/files/css/mobile.scss4
2 files changed, 12 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 55ce58111c1..e6c65a65a93 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -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 .action.action-favorite.permanent {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss
index 4a5abd2b73c..28225b82fef 100644
--- a/apps/files/css/mobile.scss
+++ b/apps/files/css/mobile.scss
@@ -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;