]> source.dussan.org Git - nextcloud-server.git/commitdiff
Avoid scrolling to the hidden input when toggling grid/list view 16008/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:51:39 +0000 (08:51 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/css/files.scss

index 815c7d7531c903523e0568521b581c09183c9ebd..e4dcf66704eb9fea290b2d713f851ec18a66cbac 100644 (file)
@@ -1021,6 +1021,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 {