From 8bfe2b7e410bb2a9e5f5d480b36ef885be1d98da Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Mon, 2 Aug 2021 08:24:38 -0700 Subject: [PATCH] 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 --- .changeset/breezy-ads-eat.md | 5 +++++ src/buttons/misc.scss | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .changeset/breezy-ads-eat.md diff --git a/.changeset/breezy-ads-eat.md b/.changeset/breezy-ads-eat.md new file mode 100644 index 0000000000..02d63571a2 --- /dev/null +++ b/.changeset/breezy-ads-eat.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Fix bug where outline was showing up on hover diff --git a/src/buttons/misc.scss b/src/buttons/misc.scss index 7506fb584e..7af10000b5 100644 --- a/src/buttons/misc.scss +++ b/src/buttons/misc.scss @@ -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;