Avoid scrolling to the hidden input when toggling grid/list view

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-06-19 09:35:52 +02:00 committed by Backportbot
parent dce4a245b5
commit b18befd339
1 changed files with 4 additions and 0 deletions

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 {