Skip to content

Commit

Permalink
Fix bug where outline was showing up on hover (#1519)
Browse files Browse the repository at this point in the history
* Fix bug where outline was showing up on hover

* Create breezy-ads-eat.md

* Put back this class
  • Loading branch information
jonrohan committed Aug 2, 2021
1 parent 71aff2b commit 8bfe2b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-ads-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fix bug where outline was showing up on hover
8 changes: 7 additions & 1 deletion src/buttons/misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,17 @@
box-shadow: none;

&:hover,
&.zeroclipboard-is-hover {
color: var(--color-text-link);
background: none;
outline: none;
box-shadow: none;
}

&:active,
&:focus,
&.selected,
&[aria-selected=true],
&.zeroclipboard-is-hover,
&.zeroclipboard-is-active {
color: var(--color-text-link);
background: none;
Expand Down

0 comments on commit 8bfe2b7

Please sign in to comment.