Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Always put the gridview toggle on the visible part of the page
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv committed Aug 14, 2019
commit cbc38628302c618866d041f9b50958a25e16f838
10 changes: 8 additions & 2 deletions apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1080,9 +1080,15 @@ table.dragshadow td.size {
opacity: 1;
}
}
/* Make sure the hidden input is not rendered at all to avoid scrolling to top */

/**
* Make sure the hidden input is always
* on the visible scrolled area of the
* page to avoid scrolling to top when focusing
*/
#showgridview {
display: none;
position: fixed;
top: 0;
}

/* Adjustments for link share page */
Expand Down