Skip to content

Commit

Permalink
refactor(avatar): use focus-visible for linked avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
pfulton committed Feb 3, 2023
1 parent d53bb56 commit 75911e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/avatar/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ governing permissions and limitations under the License.
}
}

.spectrum-Avatar:focus-within:not(.is-disabled) .spectrum-Avatar-link {
.spectrum-Avatar:not(.is-disabled) .spectrum-Avatar-link:focus-visible {
&::after {
pointer-events: none;
content: "";
Expand Down

0 comments on commit 75911e3

Please sign in to comment.