From c80524f475014f75193cd4dd2cbdc1882a231c3f Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Fri, 13 Nov 2020 09:06:35 +0800 Subject: [PATCH] fix: Typography.Link disabled hover style (#27734) --- components/typography/style/index.less | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/components/typography/style/index.less b/components/typography/style/index.less index 185b1a0074..82404b3240 100644 --- a/components/typography/style/index.less +++ b/components/typography/style/index.less @@ -105,15 +105,19 @@ text-decoration: @link-hover-decoration; } - &[disabled] { + &[disabled], + &.@{typography-prefix-cls}-disabled { color: @disabled-color; cursor: not-allowed; - pointer-events: none; - + &:active, &:hover { color: @disabled-color; } + + &:active { + pointer-events: none; + } } }