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:38:16 +0400
commitd8a4e7a3244392410752bd0c84a88869b9c2c561 (patch)
tree17c8a7921e41a9755d3fb4d4caf9f5b9a1a1a150
parent13fb2afcbf14db5d452492e61f6faa77cfde11da (diff)
keep long file names in one line to not overflow download button on mobile
-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 f43f9c16041..1c944a8137b 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -81,13 +81,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)";