Merge pull request #16745 from nextcloud/backport/16154/stable16

[stable16] Make possible to focus grid/list view toggle via keyboard
This commit is contained in:
Roeland Jago Douma 2019-08-15 19:41:42 +02:00 committed by GitHub
commit fbeae1cc7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -1061,9 +1061,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 */