Avoid scrolling to the hidden input when toggling grid/list view (#16005)

Avoid scrolling to the hidden input when toggling grid/list view
This commit is contained in:
John Molakvoæ 2019-06-19 10:49:15 +02:00 committed by GitHub
commit abb1fd9fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1079,6 +1079,10 @@ table.dragshadow td.size {
opacity: 1; 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 */ /* Adjustments for link share page */
#body-public { #body-public {