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:
Christian Oliff 2019-06-14 16:26:51 +09:00 committed by Martin Donath
parent db7f7472ec
commit 6182414ae5

View File

@ -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",