Skip to content

Commit

Permalink
fix(ui): Firefox font smoothing (#29020)
Browse files Browse the repository at this point in the history
Currently, we use anti-aliasing to smooth fonts in the app and in our Figma designs. We already have the CSS declaration `-webkit-font-smoothing: antialiased` on `body`, which works in Safari and Chrome but not Firefox. For Firefox, we need an additional declaration: `-moz-osx-font-smoothing: grayscale`.
  • Loading branch information
vuluongj20 authored Oct 5, 2021
1 parent 284fefe commit d2ec4b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/less/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ body {
color: @gray-darker;
background: @white-dark;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
min-height: 100vh;
}
Expand Down

0 comments on commit d2ec4b0

Please sign in to comment.