Skip to content

Commit

Permalink
Fix: Inter italic bug in Safari
Browse files Browse the repository at this point in the history
Text marked with <em> element is not slanted. See issue: mdn#7203
  • Loading branch information
ironnysh committed Apr 1, 2024
1 parent 456d1c6 commit fcabe34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/ui/base/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ picture {
max-width: 100%;
}

/* Fix Inter font bug: 'em' not slanted in Safari. See issue: https://github.com/mdn/yari/issues/7203 */
em {
font-variation-settings: "slnt" -10;
}

/* Inherit fonts for inputs and buttons */
input,
button,
Expand Down

0 comments on commit fcabe34

Please sign in to comment.