]> source.dussan.org Git - nextcloud-server.git/commitdiff
keep long file names in one line to not overflow download button on mobile
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 17 Apr 2014 14:58:57 +0000 (16:58 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 17 Apr 2014 15:11:28 +0000 (17:11 +0200)
apps/files_sharing/css/public.css

index 062444f496fb326b021e265e2a095d5cfa498fbf..d36683d42cd45ae4d3f0d40d667831da4881cb5e 100644 (file)
@@ -70,13 +70,26 @@ thead {
        margin: 0;
 }
 
+
 .directDownload,
 .directLink {
        margin-bottom: 20px;
 }
+
+/* keep long file names in one line to not overflow download button on mobile */
+.directDownload #download {
+       white-space: nowrap;
+       overflow: hidden;
+       text-overflow: ellipsis;
+       max-width: 90%;
+       display: inline-block;
+       margin-left: auto;
+       margin-right: auto;
+}
 .directDownload .button img {
        vertical-align: text-bottom;
 }
+
 .directLink label {
        font-weight: normal;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";