Skip to content

Commit

Permalink
Refactor/link (#1272)
Browse files Browse the repository at this point in the history
* link Mobile Component

* create link doc

* fix: lint fix

* fix: link hover style
  • Loading branch information
brianzhang authored Apr 14, 2023
1 parent fa429d9 commit b606527
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions style/mobile/components/link/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@
color: @@disabledColor;
}

&.@{link}--hover {
color: @@activeColor;
&:active {
&.@{link}--hover {
color: @@activeColor;

&.@{link}--underline::after {
border-color: @@activeColor;
&.@{link}--underline::after {
border-color: @@activeColor;
}
}
}
}
Expand All @@ -66,6 +68,7 @@
display: flex;
align-items: center;
box-sizing: content-box;
text-decoration: none;

&--underline::after {
content: "";
Expand Down

0 comments on commit b606527

Please sign in to comment.