summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-19 09:35:52 +0200
committerJulius Härtl <jus@bitgrid.net>2019-06-19 09:35:52 +0200
commit25a646e1ee88d50657feb28850877d33604bf3f3 (patch)
tree9e1f494068736363a0a65a52cbe9dd51665d4e62 /apps
parent366374d8e3d5927690a51185a974ad139015b897 (diff)
downloadnextcloud-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.scss4
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 {