aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-08-15 10:56:52 +0200
committerGitHub <noreply@github.com>2019-08-15 10:56:52 +0200
commit465e919de12a8f6bdcf1133a677101c4cdf1efc2 (patch)
tree89240739df39e11470d445a4f5091f513d6afcf5
parentd14aed104850e4a8d3f415ce281d31894c570b36 (diff)
parentcbc38628302c618866d041f9b50958a25e16f838 (diff)
downloadnextcloud-server-465e919de12a8f6bdcf1133a677101c4cdf1efc2.tar.gz
nextcloud-server-465e919de12a8f6bdcf1133a677101c4cdf1efc2.zip
Merge pull request #16154 from nextcloud/fix/noid/accessibility-focusable-viewtoggle
Make possible to focus grid/list view toggle via keyboard
-rw-r--r--apps/files/css/files.scss10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index e0f07bd1cf6..0ecfadfddce 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -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 */