Skip to content

Commit

Permalink
fix(a11y): not showing ring on button when using mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
technikhil314 committed Sep 26, 2024
1 parent 55d965e commit 2dc0eab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions components/buttons/copyLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
transform
rounded-md
shadow
outline-none
justify-self-end
focus:ring-4
focus-visible:ring-4
active:scale-y-75
hover:scale-105 hover:shadow-lg
copy-uri-button
Expand Down
3 changes: 1 addition & 2 deletions components/buttons/nextDiff.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
bg-gray-300
border border-gray-800
rounded-sm
outline-none
dark:border-gray-400 dark:text-white dark:bg-gray-800
align-center
focus:ring-4
focus-visible:ring-4
active:scale-y-75
hover:scale-105 hover:shadow-lg
"
Expand Down
3 changes: 1 addition & 2 deletions components/buttons/prevDiff.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
bg-gray-300
border border-gray-800
rounded-sm
outline-none
focus-visible:ring-4
dark:border-gray-400 dark:text-white dark:bg-gray-800
align-center
focus:ring-4
active:scale-y-75
hover:scale-105 hover:shadow-lg
"
Expand Down

0 comments on commit 2dc0eab

Please sign in to comment.