summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-06-12 17:03:54 -0500
committerLukas Reschke <lukas@statuscode.ch>2017-06-13 11:17:45 +0200
commit2fe2b5a1d02d07d745525d52f1ac2cb9804c4173 (patch)
treeda89520f8ef162bdc50d147c9f951b4b39498d72 /apps/files
parentb481fa40ef5cd3ae0f6cb1e17b6765197baa2340 (diff)
downloadnextcloud-server-2fe2b5a1d02d07d745525d52f1ac2cb9804c4173.tar.gz
nextcloud-server-2fe2b5a1d02d07d745525d52f1ac2cb9804c4173.zip
Put the quota bar to the bottom
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.scss12
-rw-r--r--apps/files/js/app.js2
2 files changed, 12 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 0263d79e79f..a064c160cfa 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -756,7 +756,12 @@ table.dragshadow td.size {
margin: 0 !important;
border: none;
border-radius: 0;
- background-color: transparent;
+ position: fixed !important;
+ bottom: 44px;
+ width: inherit !important;
+ background-color: #fff;
+ border-right: 1px solid #eee;
+ z-index:1;
.quota-container {
height: 5px;
@@ -769,6 +774,11 @@ table.dragshadow td.size {
}
}
+/* increase the padding of the last item to not hide below the quota item */
+.app-files #app-navigation > ul li:nth-last-child(1) {
+ margin-bottom: 44px;
+}
+
#quotatext,
#quotatext-additional {
padding: 0;
diff --git a/apps/files/js/app.js b/apps/files/js/app.js
index 5f1bf1a7b1e..47011d23f44 100644
--- a/apps/files/js/app.js
+++ b/apps/files/js/app.js
@@ -109,7 +109,7 @@
this._onPopState(urlParams);
$('#quota.has-tooltip').tooltip({
- placement: 'bottom'
+ placement: 'top'
});
this._debouncedPersistShowHiddenFilesState = _.debounce(this._persistShowHiddenFilesState, 1200);