[stable16] Avoid scrolling to the hidden input when toggling grid/list view (#16007)

[stable16] Avoid scrolling to the hidden input when toggling grid/list view
This commit is contained in:
John Molakvoæ 2019-06-19 15:42:05 +02:00 committed by GitHub
commit 0c79118e9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 {