aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/css/files.scss
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-17 15:29:02 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-10-17 15:29:02 +0200
commite3d8fd6544c12a4e091bb9dc1817b0e4467f0d78 (patch)
treeb1b9b8879e46b5219736d8f98bf42cf92f5cc32e /apps/files/css/files.scss
parent44d2eb8b4ec838652089be6018ae7240663781df (diff)
downloadnextcloud-server-e3d8fd6544c12a4e091bb9dc1817b0e4467f0d78.tar.gz
nextcloud-server-e3d8fd6544c12a4e091bb9dc1817b0e4467f0d78.zip
Fix unnecessary highlighting of selected element
Use focus-visible to only show focus ring on keyboard navigation Fix #34589 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files/css/files.scss')
-rw-r--r--apps/files/css/files.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index e02c1bc71c3..1950d740bd7 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -504,7 +504,7 @@ table td.selection {
padding: 16px;
}
- &:focus + label {
+ &:focus-visible + label {
background-color: var(--color-background-hover);
border-radius: var(--border-radius-pill);
outline: none !important;