Skip to content

Commit

Permalink
Avoid scrolling to the hidden input when toggling grid/list view
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr authored and Backportbot committed Jun 19, 2019
1 parent dce4a24 commit b18befd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b18befd

Please sign in to comment.