Skip to content

Commit ae052a2

Browse files
fix: link hover color (#1765)
1 parent 69b23b7 commit ae052a2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/metal-poems-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@strapi/design-system': patch
3+
---
4+
5+
fix: link hover color apply to its label and not to children

packages/design-system/src/components/Link/Link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const LinkWrapper = styled<BaseLinkComponent>(BaseLink)`
5252
}
5353
5454
&:hover {
55-
span {
55+
& > span {
5656
color: ${({ theme }) => theme.colors.primary500};
5757
}
5858
}

0 commit comments

Comments
 (0)