Skip to content

Commit

Permalink
[B] Adjust underline position
Browse files Browse the repository at this point in the history
* FF + Safari show broken underlines, especially in list views, without 
this offset.
  • Loading branch information
1aurend committed Jan 18, 2024
1 parent 7d0fbf1 commit b75a97c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/src/theme/styles/base/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ export default `
text-decoration-thickness: inherit;
}
a,
span,
div {
text-underline-offset: 1px;
}
mtext {
font-family: Latin Modern Roman, LMRoman12, STIX Two Text;
}
math {
font-family: Latin Modern Math, STIX Two Math;
text-underline-position: under;
}
.font-sans-serif,
Expand Down

0 comments on commit b75a97c

Please sign in to comment.