[Pkg-owncloud-commits] [owncloud] 04/06: 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 21:58:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v5.0.17beta1
in repository owncloud.

commit d8a4e7a3244392410752bd0c84a88869b9c2c561
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 f43f9c1..1c944a8 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)";

-- 
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