]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files): remove focus outline on file list item click
authorGrigorii K. Shartsev <me@shgk.me>
Mon, 20 Nov 2023 10:54:10 +0000 (11:54 +0100)
committerGrigorii K. Shartsev <me@shgk.me>
Tue, 28 Nov 2023 21:04:39 +0000 (22:04 +0100)
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
apps/files/src/components/FilesListVirtual.vue

index c640ad72aca5140dd9af350b6d0072b88a81e67f..ef2af91f1abb860a8fa61835ec10165b6df5543c 100644 (file)
@@ -544,11 +544,13 @@ export default defineComponent({
                                }
 
                                // Keyboard indicator a11y
-                               &:focus .files-list__row-name-text,
-                               &:focus-visible .files-list__row-name-text {
+                               &:focus .files-list__row-name-text {
                                        outline: 2px solid var(--color-main-text) !important;
                                        border-radius: 20px;
                                }
+                               &:focus:not(:focus-visible) .files-list__row-name-text {
+                                       outline: none !important;
+                               }
                        }
 
                        .files-list__row-name-text {