mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
Fix font rendering on IE11 (#642)
This is an issue on IE11, it cannot pick the correct system font because the font `-apple-system` makes the value invalid and hence making the whole declaration invalid. A good solution is to split the shorthand version into separate properties/values and it will work.
This commit is contained in:
parent
6d77403dc1
commit
17dd6d9c8e
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ table {
|
|||
body {
|
||||
background: #f9f9f9;
|
||||
color: #393939;
|
||||
font: normal 16px/1.4em -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;
|
||||
font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.4em;
|
||||
min-height: 100vh;
|
||||
text-align: left;
|
||||
text-rendering: optimizeLegibility;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue