aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>