fix(Typography): Link can be selected by the user (#51243)

This commit is contained in:
thinkasany 2024-10-15 11:32:29 +08:00 committed by GitHub
parent f60b71749c
commit 0ec7bad5cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,7 @@ export const getLinkStyles: GenerateStyle<TypographyToken, CSSObject> = (token)
return {
'a&, a': {
...operationUnit(token),
userSelect: 'text',
[`&[disabled], &${componentCls}-disabled`]: {
color: token.colorTextDisabled,