fix: Typography.Link disabled hover style (#27734)

This commit is contained in:
xrkffgg 2020-11-13 09:06:35 +08:00 committed by GitHub
parent 3d04e5d3fb
commit c80524f475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,15 +105,19 @@
text-decoration: @link-hover-decoration; text-decoration: @link-hover-decoration;
} }
&[disabled] { &[disabled],
&.@{typography-prefix-cls}-disabled {
color: @disabled-color; color: @disabled-color;
cursor: not-allowed; cursor: not-allowed;
pointer-events: none;
&:active, &:active,
&:hover { &:hover {
color: @disabled-color; color: @disabled-color;
} }
&:active {
pointer-events: none;
}
} }
} }