Skip to content

Commit

Permalink
Fix @link-hover-decoration, close ant-design#7821 & ant-design#7531
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 7, 2017
1 parent cf6dfac commit 31d0c3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/style/core/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ h1, h2, h3, h4, h5, h6 {
a {
color: @link-color;
background: transparent;
text-decoration: @link-hover-decoration;
text-decoration: @link-decoration;
outline: none;
cursor: pointer;
transition: color .3s ease;
Expand All @@ -90,7 +90,7 @@ a {
&:active,
&:hover {
outline: 0;
text-decoration: none;
text-decoration: @link-hover-decoration;
}

&[disabled] {
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
@link-color : @primary-color;
@link-hover-color : @primary-5;
@link-active-color : @primary-7;
@link-decoration : none;
@link-hover-decoration : none;

// Animation
Expand Down

0 comments on commit 31d0c3a

Please sign in to comment.