summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-06 11:46:20 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-07-20 23:37:00 +0200
commitfe6f444928bd9b1f4dd2df82ef8ee7fb2b40aa5d (patch)
tree651e6ff6207d33fc7741655e0c82ab5f08af6b5a
parentd6b718584e8aff74a0e76f77d2c1c5689f78cc78 (diff)
downloadnextcloud-server-fe6f444928bd9b1f4dd2df82ef8ee7fb2b40aa5d.tar.gz
nextcloud-server-fe6f444928bd9b1f4dd2df82ef8ee7fb2b40aa5d.zip
Fixed sticky controls
since controls are not directly into the scollable element (app-content) we need to make the parent the scrollable element (app-content-files) Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--apps/files/css/files.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 85c59294803..459d8743a01 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -60,6 +60,10 @@
min-height: 0%;
}
+#app-content > [id^='app-content-'] {
+ max-height: calc(100vh - $header-height);
+}
+
.app-files #app-content {
transition: background-color 0.3s ease;
overflow-x: hidden;