From fe6f444928bd9b1f4dd2df82ef8ee7fb2b40aa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= <skjnldsv@protonmail.com> Date: Fri, 6 Jul 2018 11:46:20 +0200 Subject: [PATCH] Fixed sticky controls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- apps/files/css/files.scss | 4 ++++ 1 file changed, 4 insertions(+) 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; -- GitLab