diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-08-14 16:45:26 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-08-14 16:45:58 +0200 |
commit | cbc38628302c618866d041f9b50958a25e16f838 (patch) | |
tree | 529488ca81713ff2c844e241a286cbfe05732e06 /apps/files/css | |
parent | d013ff6cae7e01f5a7e3003cde064854922297b4 (diff) | |
download | nextcloud-server-cbc38628302c618866d041f9b50958a25e16f838.tar.gz nextcloud-server-cbc38628302c618866d041f9b50958a25e16f838.zip |
Always put the gridview toggle on the visible part of the page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.scss | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index e0f07bd1cf6..0ecfadfddce 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -1080,9 +1080,15 @@ table.dragshadow td.size { opacity: 1; } } -/* Make sure the hidden input is not rendered at all to avoid scrolling to top */ + +/** + * Make sure the hidden input is always + * on the visible scrolled area of the + * page to avoid scrolling to top when focusing + */ #showgridview { - display: none; + position: fixed; + top: 0; } /* Adjustments for link share page */ |