mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved Google Font display experience (#1134)
This fixes: #1133 This change prevents the font changing if the Google font loads within 100ms.
This commit is contained in:
parent
db7f7472ec
commit
6182414ae5
@ -145,7 +145,7 @@
|
||||
href="https://fonts.googleapis.com/css?family={{
|
||||
font.text | replace(' ', '+') + ':300,400,400i,700|' +
|
||||
font.code | replace(' ', '+')
|
||||
}}&display=swap" />
|
||||
}}&display=fallback" />
|
||||
<style>
|
||||
body, input {
|
||||
font-family: "{{ font.text }}", "Helvetica Neue",
|
||||
|
Loading…
Reference in New Issue
Block a user