Skip to content

Commit

Permalink
fix: link text-decoration style on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
isunjn committed Aug 31, 2023
1 parent 94ac7e9 commit f50ae80
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,17 @@ a:focus-visible {

a {
color: var(--primary-color);
text-decoration: underline var(--primary-pale-color) 1.5px;
text-decoration-color: var(--primary-pale-color);
text-decoration-thickness: 1.5px;

&:hover {
text-decoration-color: var(--primary-color);
}

@media (max-width: 425px) {
text-decoration-color: unset;
text-decoration-thickness: auto;
}
}

img {
Expand Down

0 comments on commit f50ae80

Please sign in to comment.