Skip to content

Commit

Permalink
fix: float button render hover color correctly (ant-design#48198)
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelySnowman authored and CooperHash committed Apr 10, 2024
1 parent 84a920d commit c8f4f59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/badge/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ const genSharedBadgeStyle: GenerateStyle<BadgeToken> = (token) => {
[`&:not(${componentCls}-count)`]: {
color: darkColor,
},
'a:hover &': {
background: darkColor,
},
},
}));

Expand Down

0 comments on commit c8f4f59

Please sign in to comment.