summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-07-15 17:35:35 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-08-07 01:22:43 +0200
commitad90ba27cdcdcd60e04ee0b781c6698124e900fa (patch)
tree05962caad5926625c3d096c4c2503484d6ebef42 /apps/files_sharing
parentff614a7dbde66a9cd795a674d0e0635b6f32e3a5 (diff)
downloadnextcloud-server-ad90ba27cdcdcd60e04ee0b781c6698124e900fa.tar.gz
nextcloud-server-ad90ba27cdcdcd60e04ee0b781c6698124e900fa.zip
Styling fixes + hightlight in files sidebar
Sidebar scrolls with contents Highlight currently show file
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/appinfo/app.php1
-rw-r--r--apps/files_sharing/css/sharetabview.css3
-rw-r--r--apps/files_sharing/js/sharetabview.js1
3 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index f72f5024622..9000fafd8dd 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -56,6 +56,7 @@ $application->setupPropagation();
\OCP\Util::addScript('files_sharing', 'share');
\OCP\Util::addScript('files_sharing', 'external');
+\OCP\Util::addStyle('files_sharing', 'sharetabview');
// FIXME: registering a job here will cause additional useless SQL queries
// when the route is not cron.php, needs a better way
diff --git a/apps/files_sharing/css/sharetabview.css b/apps/files_sharing/css/sharetabview.css
new file mode 100644
index 00000000000..a8ad1ceaba7
--- /dev/null
+++ b/apps/files_sharing/css/sharetabview.css
@@ -0,0 +1,3 @@
+.app-files .shareTabView {
+ min-height: 200px;
+}
diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js
index 42bddc20b3c..e02de923751 100644
--- a/apps/files_sharing/js/sharetabview.js
+++ b/apps/files_sharing/js/sharetabview.js
@@ -55,6 +55,7 @@
this.$el.append(this._template({
owner: this._fileInfo.shareOwner || OC.currentUser
}));
+
} else {
// TODO: render placeholder text?
}