Skip to content

Commit

Permalink
fix(docs): restore underline behavior on dt links
Browse files Browse the repository at this point in the history
Co-authored-by: Onkar Ruikar <[email protected]>
  • Loading branch information
caugner and OnkarRuikar committed Oct 13, 2023
1 parent 5225110 commit c8b1136
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions client/src/document/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,15 @@
margin-top: 2rem;

a {
&:link,
&:visited {
text-decoration: none;
}

&:hover,
&:focus {
text-decoration: underline;
}

&[href^="#"] {
color: inherit;
position: relative;
text-decoration: none;

&:hover,
&:focus {
text-decoration: underline;
}

&:hover::before {
color: var(--text-inactive);
Expand Down

0 comments on commit c8b1136

Please sign in to comment.