Skip to content

Commit 8bfe2b7

Browse files
authored
Fix bug where outline was showing up on hover (#1519)
* Fix bug where outline was showing up on hover * Create breezy-ads-eat.md * Put back this class
1 parent 71aff2b commit 8bfe2b7

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/breezy-ads-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Fix bug where outline was showing up on hover

src/buttons/misc.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,17 @@
4141
box-shadow: none;
4242

4343
&:hover,
44+
&.zeroclipboard-is-hover {
45+
color: var(--color-text-link);
46+
background: none;
47+
outline: none;
48+
box-shadow: none;
49+
}
50+
4451
&:active,
4552
&:focus,
4653
&.selected,
4754
&[aria-selected=true],
48-
&.zeroclipboard-is-hover,
4955
&.zeroclipboard-is-active {
5056
color: var(--color-text-link);
5157
background: none;

0 commit comments

Comments
 (0)