Merge pull request #5453 from overleaf/ae-body-font-smoothing

Fix effect of font-smoothing style on PDF rendering

GitOrigin-RevId: 0b891cb003bf50c62059bf9d85a2da9535a3d625
This commit is contained in:
Alf Eaton 2021-10-21 09:09:10 +01:00 committed by Copybot
parent cbe62ccfa4
commit 5c82945e12
2 changed files with 3 additions and 1 deletions

View file

@ -212,6 +212,8 @@
overflow: auto;
width: 100%;
height: 100%;
-webkit-font-smoothing: initial;
-moz-osx-font-smoothing: initial;
}
&:focus-within {
outline: none;

View file

@ -2,7 +2,7 @@
// Typography
// --------------------------------------------------
* {
body {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;