Skip to content

Commit

Permalink
use not a instead of matching for span
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed May 3, 2024
1 parent e47fe1a commit 4b103cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/BranchName/BranchName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const BranchName = styled.a<SxProp>`
background-color: var(--bgColor-accent-muted, ${get('colors.accent.subtle')});
border-radius: var(--borderRadius-medium, ${get('radii.2')});
text-decoration: none;
&:is(span) {
&:is(:not(a)) {
color: var(--fgColor-muted);
}
${sx};
Expand Down

0 comments on commit 4b103cc

Please sign in to comment.