From ae195c99a1dc323be42ed7ad182338952b967aee Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 2 Jul 2014 23:07:30 +0200 Subject: [PATCH 1/4] fix position of shared file buttons --- core/css/header.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/css/header.css b/core/css/header.css index d2645c6a7d5..91dfeb798a5 100644 --- a/core/css/header.css +++ b/core/css/header.css @@ -230,8 +230,10 @@ padding: 7px 5px; color: #fff; height: 100%; - max-width: 40%; + max-width: 80%; white-space: nowrap; + -moz-box-sizing: border-box; + box-sizing: border-box; } /* Profile picture in header */ From 0a91c22ebb134cb7a865053db5cf1e56a697e64f Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 2 Jul 2014 23:14:21 +0200 Subject: [PATCH 2/4] shared view: remove whitespace glitch on right --- apps/files/js/filesummary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/filesummary.js b/apps/files/js/filesummary.js index 104dabf1b04..ca70259335c 100644 --- a/apps/files/js/filesummary.js +++ b/apps/files/js/filesummary.js @@ -181,7 +181,7 @@ var info = t('files', '{dirs} and {files}', infoVars); - var $summary = $(''+info+''+fileSize+''); + var $summary = $(''+info+''+fileSize+''); if (!this.summary.totalFiles && !this.summary.totalDirs) { this.$el.addClass('hidden'); From 560c53087574d3697ed12c28a75aaa7cfe11c518 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 2 Jul 2014 23:21:06 +0200 Subject: [PATCH 3/4] hide text of download button, only show icon --- apps/files_sharing/css/mobile.css | 5 +++++ apps/files_sharing/templates/public.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 @@ "/> - t('Download'))?> + t('Download'))?> From 0df04975b0f2a938b85c6443f76d44f4706c11c1 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 2 Jul 2014 23:33:20 +0200 Subject: [PATCH 4/4] use same logo for mobile as for when logged in, fix #9360 --- apps/files_sharing/templates/public.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 88f56c12708..e1a227e670e 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -11,8 +11,10 @@