diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-06-19 10:49:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 10:49:15 +0200 |
commit | abb1fd9fc9cc4061b3ebce403376ca259e3dafe4 (patch) | |
tree | 437a78771a4eb4e015f7d206864bd966b5e0d514 /apps | |
parent | 3a0e4a192746e157c41453ff1892e7a415f72b49 (diff) | |
parent | 25a646e1ee88d50657feb28850877d33604bf3f3 (diff) | |
download | nextcloud-server-abb1fd9fc9cc4061b3ebce403376ca259e3dafe4.tar.gz nextcloud-server-abb1fd9fc9cc4061b3ebce403376ca259e3dafe4.zip |
Avoid scrolling to the hidden input when toggling grid/list view (#16005)
Avoid scrolling to the hidden input when toggling grid/list view
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/css/files.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 0885efa423f..4cde7d03d29 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -1079,6 +1079,10 @@ table.dragshadow td.size { opacity: 1; } } +/* Make sure the hidden input is not rendered at all to avoid scrolling to top */ +#showgridview { + display: none; +} /* Adjustments for link share page */ #body-public { |