From c0590676a005c0890e43b7a2b2950fee2758efef Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Thu, 16 Jan 2014 15:28:39 +0100
Subject: [PATCH] fix public share download button width

---
 apps/files_sharing/css/public.css       | 9 ++++++++-
 apps/files_sharing/templates/public.php | 6 +++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 54a25d0ce3..d593d353dd 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -88,13 +88,20 @@ thead{
 	margin: 0;
 }
 
+.directDownload,
 .directLink {
 	margin-bottom: 20px;
 }
+	.directDownload .button img {
+		vertical-align: text-bottom;
+	}
 	.directLink label {
 		font-weight: normal;
+		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+		filter: alpha(opacity=50);
+		opacity: .5;
 	}
 	.directLink input {
-		margin-left: 10px;
+		margin-left: 5px;
 		width: 300px;
 	}
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index e181e8a328..fb45401458 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -43,9 +43,9 @@
 					</li>
 				</ul>
 			<?php endif; ?>
-			<div class="button">
-				<a href="<?php p($_['downloadURL']); ?>" id="download">
-					<img class="svg" alt="Download" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
+			<div class="directDownload">
+				<a href="<?php p($_['downloadURL']); ?>" id="download" class="button">
+					<img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"/>
 					<?php p($l->t('Download %s', array($_['filename'])))?>
 				</a>
 			</div>
-- 
GitLab