[Pkg-owncloud-commits] [owncloud] 44/85: keep long file names in one line to not overflow download button on mobile
David Prévot
taffit at moszumanska.debian.org
Tue Jun 17 19:12:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 6.0
in repository owncloud.
commit edced60ed44ced3c387765b375d0de637710b6d5
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date: Thu Apr 17 16:58:57 2014 +0200
keep long file names in one line to not overflow download button on mobile
---
apps/files_sharing/css/public.css | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 3f77379..289b017 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)";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list