Workaround text shadow for font antialias might cause cut off in Edge

This commit is contained in:
Wu Cheng-Han 2017-01-12 17:13:52 +08:00
parent a8068d38d5
commit 42d684329f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ body {
font-smoothing: subpixel-antialiased !important;
-webkit-font-smoothing: subpixel-antialiased !important;
-moz-osx-font-smoothing: auto !important;
text-shadow: 1px 1px 1.2px rgba(0, 0, 0, 0.004);
text-shadow: 0 0 1em transparent, 1px 1px 1.2px rgba(0, 0, 0, 0.004);
/*text-rendering: optimizeLegibility;*/
-webkit-overflow-scrolling: touch;
font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;