[Pkg-owncloud-commits] [owncloud] 04/121: also fix filepicker for smaller screen sizes

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 039b1e3715617de3d21c0b65f797946c09a9618c
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Thu Jul 31 17:35:32 2014 +0200

    also fix filepicker for smaller screen sizes
---
 core/css/mobile.css   | 9 +++++++++
 core/js/oc-dialogs.js | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/core/css/mobile.css b/core/css/mobile.css
index 21090d0..0310b02 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -152,6 +152,15 @@ table.multiselect thead {
 }
 
 
+/* do not show dates in filepicker */
+#oc-dialog-filepicker-content .filelist .date {
+	display: none;
+}
+#oc-dialog-filepicker-content .filelist .filename {
+	max-width: 80%;
+}
+
+
 /* fix controls bar jumping when navigation is slid out */
 .snapjs-left #app-navigation-toggle,
 .snapjs-left #controls {
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 9920cc5..9b76793 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -206,7 +206,7 @@ var OCdialogs = {
 
 			self.$filePicker.ocdialog({
 				closeOnEscape: true,
-				width: (4/9)*$(document).width(),
+				width: (4/5)*$(document).width(),
 				height: 420,
 				modal: modal,
 				buttons: buttonlist,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list