diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-01-16 15:28:39 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-01-16 15:28:39 +0100 |
commit | c0590676a005c0890e43b7a2b2950fee2758efef (patch) | |
tree | 18e3bd0bf142308a7d04c6fe933e39c5ccc5f1f5 | |
parent | 3e7cf4110dc5bce2241830ed8ab0ddb57791442a (diff) | |
download | nextcloud-server-c0590676a005c0890e43b7a2b2950fee2758efef.tar.gz nextcloud-server-c0590676a005c0890e43b7a2b2950fee2758efef.zip |
fix public share download button width
-rw-r--r-- | apps/files_sharing/css/public.css | 9 | ||||
-rw-r--r-- | 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 54a25d0ce34..d593d353dd7 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 e181e8a3280..fb45401458f 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> |