Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-04-17 18:58:57 +0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-06 17:35:12 +0400
commitedced60ed44ced3c387765b375d0de637710b6d5 (patch)
treeb7ce4d8ae87fc9bf26dcf65629dcd90b9e0a4e58 /apps/files_sharing
parent45d165405f70e40f9f0734a81bbd3f949171d497 (diff)
keep long file names in one line to not overflow download button on mobile
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/css/public.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 3f77379869e..289b0178f24 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -91,13 +91,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)";