diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-06-19 09:35:52 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-06-19 09:35:52 +0200 |
commit | 25a646e1ee88d50657feb28850877d33604bf3f3 (patch) | |
tree | 9e1f494068736363a0a65a52cbe9dd51665d4e62 /apps | |
parent | 366374d8e3d5927690a51185a974ad139015b897 (diff) | |
download | nextcloud-server-25a646e1ee88d50657feb28850877d33604bf3f3.tar.gz nextcloud-server-25a646e1ee88d50657feb28850877d33604bf3f3.zip |
Avoid scrolling to the hidden input when toggling grid/list view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 { |