]> source.dussan.org Git - nextcloud-server.git/commitdiff
Avoid scrolling to the hidden input when toggling grid/list view 16007/head
authorJulius Härtl <jus@bitgrid.net>
Wed, 19 Jun 2019 07:35:52 +0000 (09:35 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Wed, 19 Jun 2019 08:50:27 +0000 (08:50 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/css/files.scss

index 1ffe8af432446c44bcc825d26416b570c3a38b25..589948d6a9fd7f088aa82aaec6ff7603d98eff51 100644 (file)
@@ -1061,6 +1061,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 {