summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-02 23:21:06 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-02 23:21:06 +0200
commit560c53087574d3697ed12c28a75aaa7cfe11c518 (patch)
tree592f5b29a01e072ef77565f512fe4733f9420590
parent0a91c22ebb134cb7a865053db5cf1e56a697e64f (diff)
downloadnextcloud-server-560c53087574d3697ed12c28a75aaa7cfe11c518.tar.gz
nextcloud-server-560c53087574d3697ed12c28a75aaa7cfe11c518.zip
hide text of download button, only show icon
-rw-r--r--apps/files_sharing/css/mobile.css5
-rw-r--r--apps/files_sharing/templates/public.php2
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
index 333c4c77fc9..2a630f552ee 100644
--- a/apps/files_sharing/css/mobile.css
+++ b/apps/files_sharing/css/mobile.css
@@ -5,6 +5,11 @@
position: absolute !important;
}
+/* hide text of download button, only show icon */
+#download-text {
+ display: none;
+}
+
/* hide size and date columns */
table th#headerSize,
table td.filesize,
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 65e620a3425..88f56c12708 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -25,7 +25,7 @@
</span>
<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'))?>
+ <span id="download-text"><?php p($l->t('Download'))?></span>
</a>
</span>
</div>