mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
💄 STYLE: Button's color should override child anchor's color (#40269)
This commit is contained in:
parent
8f81298027
commit
a91ef95184
@ -46,6 +46,10 @@ const genSharedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token): CSS
|
|||||||
marginInlineStart: token.marginXS,
|
marginInlineStart: token.marginXS,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'> a': {
|
||||||
|
color: 'currentColor',
|
||||||
|
},
|
||||||
|
|
||||||
'&:not(:disabled)': {
|
'&:not(:disabled)': {
|
||||||
...genFocusStyle(token),
|
...genFocusStyle(token),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user