Skip to content

Commit

Permalink
[stable16] Avoid scrolling to the hidden input when toggling grid/lis…
Browse files Browse the repository at this point in the history
…t view (#16007)

[stable16] Avoid scrolling to the hidden input when toggling grid/list view
  • Loading branch information
skjnldsv authored Jun 19, 2019
2 parents dce4a24 + b18befd commit 0c79118
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 0c79118

Please sign in to comment.