Skip to content

Commit

Permalink
fix(files): remove focus outline on file list item click
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Nov 28, 2023
1 parent 4aa8433 commit 2f18651
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2f18651

Please sign in to comment.