mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix: Typography.Link disabled hover style (#27734)
This commit is contained in:
parent
3d04e5d3fb
commit
c80524f475
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user