Skip to content

Commit

Permalink
fix: active states and focus states of inline and standalone links
Browse files Browse the repository at this point in the history
  • Loading branch information
riddhybansal committed Feb 29, 2024
1 parent 9a758bb commit f9bc3d4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/styles/scss/components/link/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ $link-focus-text-color: custom-property.get-var(
@include focus-outline;

outline-color: $link-focus-text-color;
text-decoration: underline;
}

&:visited {
Expand Down Expand Up @@ -87,11 +88,6 @@ $link-focus-text-color: custom-property.get-var(
.#{$prefix}--link.#{$prefix}--link--inline {
display: inline;
text-decoration: underline;

&:focus,
&:visited {
text-decoration: none;
}
}

.#{$prefix}--link--disabled.#{$prefix}--link--inline {
Expand Down

0 comments on commit f9bc3d4

Please sign in to comment.