Skip to content

Commit

Permalink
fix: hover text decoration of icon with link (#1976)
Browse files Browse the repository at this point in the history
* fix: hover text decoration of icon with link

* fix: tsts

* fix: use mxiin
  • Loading branch information
stefanoScalzo committed Dec 29, 2020
1 parent d2b0b58 commit a70dc12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ $block: #{$fd-namespace}-link;
.#{$block} {
@include fd-reset();
@include fd-link();

&:hover {
@include fd-icon-selector() {
text-decoration: underline;
color: var(--sapLink_Hover_Color);
}
}
}
2 changes: 1 addition & 1 deletion stories/link/link.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Use a meaningful link text that indicates what will happen when the user interac
Avoid texts such as *Click Here* or *Link*, as these do not make it clear to the user what the purpose of the link is.
`,
tags: ['f3', 'a11y', 'theme'],
components: ['link']
components: ['icon', 'link']
}
};

Expand Down

0 comments on commit a70dc12

Please sign in to comment.